All pastes #470691 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-05-04 12:51 UTC
rendered paste body
:~$ php5
<?
preg_replace('/foo\(".+?(?<!\\)"\)/', "test", 'foo("bar")');

Warning: preg_replace(): Compilation failed: missing ) at offset 18 in /home/ron/- on line 2