Could someone explain what (?i)
and (?-i)
wrapping a word in regex mean?
(?i)test(?-i)
I tested and it matches test
, TEST
, and teSt
. But I have never seen this before. What does the ?
before i
mean? I saw this here.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…