Sublime Forum

Error typing regex in preg_replace () php

#1

Typing preg_replace(’/ \ s + /’, ‘’, $ string) ST3 crashes execution and does not respond.

0 Likes

#2

try in a clean state with no third party plugins, likely one is causing this
https://www.sublimetext.com/docs/3/revert.html

0 Likes

#3

I had experienced PHP build crashed the plugin_host before as well. But I am lazy to debug it (I think I can probably never find out why).

Eventually, I invoke php from the command line directly to trigger a script or use psysh to test tiny snippets.

0 Likes