|
|
|
|
|
by balabaster
1678 days ago
|
|
Your long-hand isn't quite the same as your regex...it should be remember -> one_or_more -> digit; In regex parlance, \d+ explicitly allows for one or more digits. Multiple tacitly implies 2 or more which would be \d{2,} Also, your end char (which I assume you mean $) would be after the remember -> one_or_more -> digit; |
|
That ‘end’ thing just closes the ‘optional’ group, I believe. There is no $ in an English form of this regex either.