firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.26k stars 199 forks source link

Set RegEx flavor using URL query string/parameter #2090

Closed wdzajicek closed 1 year ago

wdzajicek commented 1 year ago

Feature

It would be wonderful if the RegEx flavor could be specified in the URL using a query string.

For example, going to the URL https://regex101.com/?flavor=ecmascript would load regex101 with the "ECMAScript (javascript)" flavor already chosen and ready to go.

firasdib commented 1 year ago

See this: https://github.com/firasdib/Regex101/wiki/FAQ#how-to-prefill-the-fields-on-the-interface-via-url

wdzajicek commented 1 year ago

See this: https://github.com/firasdib/Regex101/wiki/FAQ#how-to-prefill-the-fields-on-the-interface-via-url

There's no option for what my original request was — to specify the flavor of RegEx.

aesy commented 8 months ago

The link doesn't mention flavor at all. This used to work, why was it removed?

Edit: Actually, it does work, there just seem to be some overly aggressive caching going on.