in reply to Re: The 'g' modifier in compiled regex
in thread The 'g' modifier in compiled regex
In Javascript, that borrowed a lot from Perl, the /g is indeed attached to the regex for replace, but IMnsHO, that was a design mistake. It should have been a property, or a separate parameter, of replace.
|
|---|