regex-storm
regex-storm copied to clipboard
\+ connected with ^ and alternative
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'
^(\+|\d)
works perfectly with 0123
and +5454
for me. Got any specific example?