in reply to Re^2: Style question: regex versus string builtin function
in thread Style question: regex versus string builtin function

Silly enough this still counts as empty. In general I think the way empty regexes work is just bad design. It should only trigger if the regex is empty at the literal code level, not after all kinds of expansion has been done on the stuff between the delimiters.
  • Comment on Re^3: Style question: regex versus string builtin function