Miscellany
public text v1 · immutable:~$ php5
<?
preg_replace('/foo\(".+?(?<!\\)"\)/', "test", 'foo("bar")');
Warning: preg_replace(): Compilation failed: missing ) at offset 18 in /home/ron/- on line 2
:~$ php5
<?
preg_replace('/foo\(".+?(?<!\\)"\)/', "test", 'foo("bar")');
Warning: preg_replace(): Compilation failed: missing ) at offset 18 in /home/ron/- on line 2