I do fully agree.
But the fact that counts here is simly that Perl will "get" any RE from grep or JavaScript as long as the RE itself was written according to what is commonly referred to as "proper notation", even if a simple one.
All animals capable of flying have wings, but not all animals which have wings can fly.
Have a nice day All decision is left to your taste