Please support our C# advertiser: Programming Forums
Views: 3157 | Replies: 2
•
•
Join Date: Jul 2005
Location: Dallas, TX
Posts: 482
Reputation:
Rep Power: 4
Solved Threads: 19
ok, new to regular expressions so can someone please explain something to me. In trying to create an expression to check if an entry is between 1 and 15, I first came up with:
[1-9]|1[0-5]
this didn't work however
1[0-5]?|[2-9]
did work.
I understand why the second one works, but not why the first one didn't.
[1-9]|1[0-5]
this didn't work however
1[0-5]?|[2-9]
did work.
I understand why the second one works, but not why the first one didn't.
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode