Welcome! Please see the About page for a little more info on how this works.
Current behaviour:
(re-matches #"(a|aa)" "aa") => nil
Expected:
(re-matches #"(a|aa)" "aa") => ["aa" "aa"]
JVM version works as expected, only CLJS is affected
Comment made by: dnolen
This is the kind of ticket that tends to break existing code. We should get some people who are interested in this ticket to actually try it out.
Comment made by: mfikes
FWIW, I gave cljs-1458-re-matches-might-give-false-negative.patch a try in bootstrapped ClojureScript and it is working fine there (each of the additional unit tests produce the expected results in bootstrapped).
Patch no longer applies.
Comment made by: tonsky
New patch
CLJS-1458-re-matches-might-give-false-negative-2.patch added to Patch Tender (i)