in reply to Re^3: RegExp to Search All Array Members?
in thread RegExp to Search All Array Members?

A bit late, but...

^ is a special character in regex that makes it find the match at the beginning of the string. So with '^static', it will find any string that begins with 'static'.

So, it would match:
static bool fred(...)

But it wouldn't match
stat bool fred(...)

since static isn't at the very beginning of it, stat is.
  • Comment on Re^4: RegExp to Search All Array Members?