Page MenuHomePhabricator

add regular expression help to the Search and replace
Open, LowestPublic

Description

The "Search and replace" dialog can search using regular expressions, which is great, but many users don't know regexes at all and those who do may have doubts about the precise syntax. There should be a link from the dialog to a reference page that details the regular expression syntax which is relevant to the user's browser. (I suppose that the employed regex syntax is the one in the JS engine of the user's browser and maybe there are differences between the engines; correct me if i'm wrong.)

This link should be added to all languages. Probably the target page will be available only in English and maybe a few other common languages (French, Russian, Japanese); English should probably the fallback for most languages if a translation is not available. (If a translation is written, the link can be updated.)


Version: unspecified
Severity: enhancement

Details

Reference
bz23626

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:09 PM
bzimport set Reference to bz23626.
bzimport added a subscriber: Unknown Object (MLST).
Amire80 created this task.May 22 2010, 3:56 PM

(In reply to comment #0)

(I suppose that the employed regex syntax is the one in the
JS engine of the user's browser and maybe there are differences between the
engines; correct me if i'm wrong.)

Yes, the browser's JS engine will be parsing the regex. However, the JavaScript standard prescribes which regex features browsers should support, so I expect the differences between browsers to be small to non-existent here.

Qgil added a comment.Apr 8 2014, 7:07 AM

Years of silence. Changing priority to Lowest.

(I'm not even sure this is related to skins)

Umherirrender set Security to None.
Krinkle removed a subscriber: Krinkle.May 11 2020, 3:04 PM