This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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.