in reply to Re: Defining Characters in Word Boundary?
in thread Defining Characters in Word Boundary?

I believe he's saying that "_2" isn't part of the macro, so $keyword = 'Chi'; '...\\Chi_2...' =~ /\\$keyword\b/ should match.

Replies are listed 'Best First'.
Re^3: Defining Characters in Word Boundary?
by luis.roca (Deacon) on Jan 19, 2011 at 23:39 UTC

    Ugh! — Apologies to the OP. I misread that.

    "...the adversities born of well-placed thoughts should be considered mercies rather than misfortunes." — Don Quixote