Page MenuHomePhabricator

Unbreak regex filename search
ClosedPublic

Authored by vlada on Mar 20 2016, 2:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 2, 7:22 AM
Unknown Object (File)
Mon, Apr 1, 11:55 AM
Unknown Object (File)
Thu, Mar 28, 11:46 PM
Unknown Object (File)
Mar 5 2024, 3:22 PM
Unknown Object (File)
Feb 7 2024, 8:05 PM
Unknown Object (File)
Feb 3 2024, 8:18 AM
Unknown Object (File)
Jan 23 2024, 9:24 AM
Unknown Object (File)
Jan 15 2024, 1:28 AM
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 11229
Build 13942: 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.