LESS TALK, MORE CODE
Thursday
(?i) and (?-i) in regex means
(?i)
turns on
case-insensitive
mode,
(?-i)
turns it off.
For example
:
For regex (?i)ed(?-i)a
- matches with the following words: eda, Eda, eDa, EDa
- does not match with the following words: edA, EdA, eDA, EDA
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment