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

In general, it's easier to extract the keyword, then check if it's the one you want.

I agree wholeheartedly. Since the LaTeX name constraint is exact and well-understood (the characters 'a' through 'z' and the characters 'A' through 'Z'), you simply need to match just those characters. Explicitly matching the right-hand boundary isn't necessary.

  • Comment on Re^2: Defining Characters in Word Boundary?