in reply to Re: Re: Re: how to find hash keys in a string ?
in thread how to find hash keys in a string ?

Yes, ending and beginning with word boundaries, i.e. a transition from a word character (letter, digit or underscore) to either a non-word character, or begin or end of the whole string. /\btom\b/ will match in "foo-tom-bar" but not in "tom33".