Hi, This question confused me too (?i) turns on case insensitivity - so it will find any sequence of ill or ILL followed by a number. If you take out the (?i) it will only replace the hill2 bit. I dont think we need to know the case insensitivity one for the exam.... there are a lot of questions that seem to have extra things in whizlabs.
Joined: Jan 19, 2006
There's extra things charged in WhizLabs simulator.
I was able to understand how the "ill\\d" pattern works but I was unable to determine how the pattern "(?i)" works.
So, let's concentrate our analisys in "(?i)" pattern. Could you please Tamara explain step-by-step how the "(?i)" pattern works ?
As far as I know the pattern "?" means zero or one occurrences, so I'm unable to determine how can it mean about Case Sensitive.