Closed for1997 closed 3 years ago
Thanks but parentheses are actually not needed here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#using_parentheses
Parentheses around any part of the regular expression pattern causes that part of the matched substring to be remembered. Once remembered, the substring can be recalled for other use. See Groups and ranges for more details.
No, you wrong. Parentheses is needed here. But you can use (?:x) syntax and not remember matched substring. Currently you replace this macros: "[ADCOUNT", "TRANSACTIONID", ..., "LATLONG]", but must "[ADCOUNT]", "[TRANSACTIONID]", ..., "[LATLONG]"
Allright my bad. Sorry for the confusion and thanks for insisting. I have added the parentheses in 3.0.5 release.
Thanks but parentheses are actually not needed here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#using_parentheses