in reply to Re^2: Promiscuously match what might be prices
in thread Promiscuously match what might be prices

Unless you really need it, you should prefer saying \, and \. to [.] and [,]. You're disabling some important optimizations when you move literal text into a character class. Perl doesn't recognize that a single character class is equivalent to a literal character and this prevents its Boyer-Moore string matching from working effectively. That's one of the things that helps to make perl's regex so legendarilly fast.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊