in reply to Re^2: HOP::Lexer not doing what I expected
in thread HOP::Lexer not doing what I expected

I'm wondering that myself! I installed HOP::Lexer to have a play and learn (I've not used the module before). It seemed that WORD was matching first and changing the order fixed that as I expected. It was not obvious why it should match first however.

I've now skim read the documentation (including HOP::Lexer::Article) and still don't understand why WORD was matching! Maybe time to trawl through the code?


DWIM is Perl's answer to Gödel
  • Comment on Re^3: HOP::Lexer not doing what I expected