polka4ever
Technical User
I am pretty new to regular expressions. I have a book and I am reading fervently, but unable to get this to work. I'd like to increment n anytime my variable has the value 'grand' in it.
First question: Is this case sensitive? If so - how do I make it NOT case sensitive?
I am trying to match up with the city: Grand Rapids - so it seems like it should be incrementing for:
$small_string=~ /.*grand.*/
What am I not getting here?
~Polka
First question: Is this case sensitive? If so - how do I make it NOT case sensitive?
I am trying to match up with the city: Grand Rapids - so it seems like it should be incrementing for:
$small_string=~ /.*grand.*/
What am I not getting here?
~Polka