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, Dec 17, 9:39 PM
Unknown Object (File)
Tue, Dec 17, 6:57 AM
Unknown Object (File)
Sun, Dec 15, 4:48 PM
Unknown Object (File)
Thu, Dec 12, 12:43 AM
Unknown Object (File)
Wed, Dec 11, 8:01 PM
Unknown Object (File)
Thu, Nov 28, 7:33 AM
Unknown Object (File)
Sat, Nov 23, 5:48 PM
Unknown Object (File)
Oct 21 2024, 8:43 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.