
9 Dec
2005
9 Dec
'05
10:23 a.m.
Indeed it does.
If the user wants only one substitution, I'd say the use of /g, which allows s/// to match multiple times, is the central mistake.
And just to clarify: regex_replace finds and replaces *all* occurances (equivalent to /g) unless you tell it otherwise with the format_first_only flag. John.