I'm looking for some way to turn the case-insensitivty on or off inside a regexp. I thought doing something like \i in the pattern would toggle that but it didn't work. Say I have a pattern like:
/<a href="http:\/\/somelink.com"/
Then I would like the address to be matched insensitive and the "a href" to sensitive.