[CLJS-485] clojure.string/replace ignores regex flags Created: 12/Mar/13 Updated: 05/Aug/15
|Labels:||bug, patch, test|
|Patch:||Code and Test|
The replace function in namespace clojure.string ignores regex flag provided in the match pattern. For example:
The attached patch fixes this by parsing the m and i flags, if set, from the match object, instead of explicitly setting only "g".
|Comment by Chas Emerick [ 19/Mar/14 9:29 AM ]|
I can confirm the bug. The attached patch applies cleanly, and works as expected.
Esa, sorry for the long delay (this one must have slipped through the cracks)! Could you please submit a contributor's agreement, so that your patch can be merged? More info is here:
|Comment by lvh [ 26/Jul/15 5:56 PM ]|
I got bit by this bug. Working on figuring out if I can sign that agreement.
|Comment by lvh [ 27/Jul/15 11:55 AM ]|
This is a duplicate of CLJS-794.