Every comment here at time of writing is from people thinking that this is a way of searching the web using regular expressions. It is not.
It is a way of taking a regular expression and an input and then applying that regular expression to that input. In this particular example it takes the regular expression:
I agree. What the internet needs is semantics not regular expressions. If there is a need for regular expression, it's only because semantics is not working, for example, the search engine does not have all the synonyms so I might write "do|does|done". We should be focusing more on textual query expansion (if the query hides some background knowledge), auto-tagging of web pages (if the web pages assume some background knowledge) and clever disambiguation of queries (if we don't know which background knowledge tap into).
Yes. It's just a normal search term. Except for in the "Answers" section that DuckDuckGo sometimes provides when it thinks it knows the answer to what you're asking, it supplies the results of executing the regex.
Awwww. I hoped for a moment it was literally searching the web with a regex. Unfortunately no, although it may be a handy regex cheat sheet.
Wake me when someone does this properly. It's only been done on a small scale or with very limited precomputed expressions, to my knowledge. Not many people would need it, but for those people it'd be insanely useful. But it's also insanely computationally hard - which means it'd be a really interesting technical achievement! There are no general-purpose reverse indexes that I know of that accelerate that as easily as keywords, but there are some data structures that might help a bit, although I can't think of practical ways to deploy them over arbitrary regexps specified at runtime! Plus some sanity heuristics and limits, of course, as regexps can undergo combinatorial explosion and some fun unexpected worse-case performance.
Maybe I am missing out potential applications but I can't understand why I would like to search the entire web with a regex pattern? Find all strings that could be SSNs?
Google does not implement regex search support because they said somewhere that the data storage needed for the index would be huge. And since regex search is used only by a small subset of users, it is not worth the effort.
This does not do what you think it does. It takes a regular expression and an input and applies that regular expression to that input. It doesn't search the web using the regex.
IIRC "security" plays important role here too, because using regexps you can much easier find sensitive data, or to be precise: context (neighborhood) of sensitive data.
Does anyone provide Boolean web searches, with nested terms (e.g., "a AND (b OR (c AND d))"? I don't need it all the time but it would be very handy on occasion.
It is a way of taking a regular expression and an input and then applying that regular expression to that input. In this particular example it takes the regular expression:
/(?x: (\w+) \s (\w+) )/
And applies it to:
"hacker news"
And then spits out the result:
"hacker | news"
Representing the two captured results.