Case-insensitive serach with awk

Is there any way to do case insensitive search with awk for the below statement:

month1=`awk '/month/' ${trgfile} | cut -d"=" -f2`

the "month" could come as Month, mOnth,MONTH etc. in a file.

Now I am looking for "month"....

Thanks,
AC

if you are using gawk, you can set IGNORECASE=1 first. Other than that I would say do a google search, there are some ways to do it, but it's not as easy as passing -i to grep.

month1=`awk 'tolower($0) ~ /month/' ${trgfile} | cut -d"=" -f2`

Thanks a lot for the reply. It works!

nice, I didn't know that worked on a regular expression.