regex-storm icon indicating copy to clipboard operation
regex-storm copied to clipboard

\+ connected with ^ and alternative

Open madameczek opened this issue 4 years ago • 1 comments

Hi, just tried: Patterrn: @"^(\+|\d)" this should match '+' or '0' (from input1: @"+" or imput2="0"), but it doesn't. Only '0' is asserted as matching. When remove ^ and pattern is (+|\d), then it matches both '+' and '0'

madameczek avatar Nov 27 '20 09:11 madameczek

^(\+|\d) works perfectly with 0123 and +5454 for me. Got any specific example?

EddieDemon avatar Jan 20 '23 14:01 EddieDemon