Enforce .replaceAll()
over .replace()
when the pattern has g
flag
#1948
Labels
.replaceAll()
over .replace()
when the pattern has g
flag
#1948
I believe they are the same, but use
.replaceAll()
has more clear intentionFail
Pass
The text was updated successfully, but these errors were encountered: