in reply to super search by regex

One of the problems with a regex interface is security.

You have to make sure it's not injecting code and that it's terminating in reasonable time.

Not sure why you need that tho

I used globs for that reason in one of my projects, (they translated to regex but safely) and it was sufficient for 99% of our users.

> not entirely clear to me what the separate strings with option does

I think you are talking about the option to separate different sub strings with something different than space, like that you can search for substrings where a space is included.

Like

would search with "|" as separator, but by default

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

Update

Your way of linking is constantly logging me out, not everybody is using www.perlmonks.org.

Please prefer ids like [id://11160421] or node name links [node name]

See also site how to

Replies are listed 'Best First'.
Re^3: super search by regex (updated)
by jdporter (Paladin) on Jul 07, 2024 at 16:30 UTC
      > site how to is not recommended for current advice

      It's listed below the textarea when replying

      Want more info? How to link or How to display code and escape characters are good places to start.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      see Wikisyntax for the Monastery

        Thanks! I will fix that.

Re^2: super search by regex (updated)
by Anonymous Monk on Jul 07, 2024 at 18:29 UTC
    Perl has special forces :
    Perl maintains a cache of visited states in order to short circuit redundant paths through the NFA, permitting it to evaluate some searches in linear time that take polynomial or exponential time in other Spencer engines.
    from "Can Regular Expressions Be Safely Reused Across Languages?": i-programmer.info/programming/perl/13051-can-regular-expressions-be-safely-reused-across-language-boundaries.html
Re^2: super search by regex (updated)
by Danny (Chaplain) on Jul 07, 2024 at 16:08 UTC