in reply to Re: Matching 'words' in a string based on a suffix
in thread Matching 'words' in a string based on a suffix

it's true that the expression  /\S+ing/ would match  derringer
but  /\S+ing$/ wouldn't...

this expression would also work in the above required example, i believe...

Replies are listed 'Best First'.
Re: Re: Re: Matching 'words' in a string based on a suffix
by magnus (Pilgrim) on Feb 07, 2001 at 16:03 UTC
    mirod just pointed out, the  $ in my previous reply should have been a  \b... thanks, mirod...