Page MenuHomePhabricator

Unbreak regex filename search
ClosedPublic

Authored by vlada on Mar 20 2016, 2:13 PM.
Tags
None
Referenced Files
F13989473: D15500.id37368.diff
Mon, Oct 21, 8:43 PM
F13987248: D15500.id37366.diff
Mon, Oct 21, 8:19 AM
F13979962: D15500.id37367.diff
Oct 19 2024, 7:34 AM
F13979561: D15500.diff
Oct 19 2024, 5:13 AM
F13976185: D15500.id.diff
Oct 18 2024, 1:12 PM
F13960332: D15500.id37368.diff
Oct 14 2024, 10:59 PM
Unknown Object (File)
Oct 9 2024, 3:18 AM
Unknown Object (File)
Oct 7 2024, 12:57 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP130e1d1f68a4: Unbreak regex filename search
Summary

D9087 adds a nice typeahead but breaks the existing regex
search by quoting the pattern. Ideally, this change won't break the
typeahead, which as far as I can tell doesn't use the pattern
argument.

Test Plan

Not yet.
RFC as to whether this change makes sense, will fix my local setup and resend if so.

Diff Detail

Repository
rP Phabricator
Branch
unquote (branched from master)
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 11230
Build 13943: arc lint + arc unit

Event Timeline

vlada retitled this revision from to Unbreak regex filename search.
vlada updated this object.
vlada edited the test plan for this revision. (Show Details)
vlada added a reviewer: epriestley.
vlada edited edge metadata.

I think this is alright. This should be a little cleaner:

$pattern = '('.$pattern.')';
vlada edited edge metadata.

change as per code review

epriestley edited edge metadata.
This revision is now accepted and ready to land.Mar 20 2016, 5:15 PM
This revision was automatically updated to reflect the committed changes.