in reply to A regular expression (or regex)

To me, it says the author of the regexp is considering Perl programming to be magic he doesn't fully understand.

Neither the /g nor the /o are actually useful here. And I wouldn't be surprised if the /i isn't either.