http://www.perlmonks.org?node_id=180475


in reply to Re2: New simple search
in thread New simple search

Like I said, I don't want to go back to using a regex for simple search and your definition only makes sense for words of letters. And, like I said, I don't really want to get this complicated and figure out and document which cases should have which kind of word boundary rules (consider "don't", "qq'", "'hi'", "0x", "%s", etc.)

Like I said, Super Search will allow more control over boundaries to use with your search terms.

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re4: New simple search
by blakem (Monsignor) on Jul 09, 2002 at 19:28 UTC
    Ah, I see. I thought you were vowing not to accept regular expressions in the user input. Anyway, I like the non-letter boundaries, but sticking with whitespace is almost as good and probably quite a bit quicker.

    -Blake