by your pattern I mean the pattern used in regexpmatch which is used in if statement.