-
October 26th, 2010, 02:10 PM
#1
Regular Expression
I have a regular expression.
"^.?$"
According to documentation "." is any character except \n
? is zero or one times preceding character.
string "a" matches.
"aa" does not match. Should "aa" match?
"ab" does not match. Should it match?
Can an guru explain me this please?
thx
gulumal
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|