Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to use suffixes in the match string, e.g. @@env.css.darkStyle@@ #16

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 6, 2019

  1. Added ability to use suffixes in match strings

    For example, replace matches like @@env.css.darkStyle@@ instead of just @@env.css.darkStyle. This is needed to avoid erroneously substituting a partial match like @@env.css.darkStyle_header with the @@env.css.darkStyle when darkStyle_header is not found in json.
    rrabb authored May 6, 2019
    Configuration menu
    Copy the full SHA
    5793b26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d611007 View commit details
    Browse the repository at this point in the history
  3. Added ability to use suffixes in match strings

    It's necessary to use suffix sometimes when there are unintended partial matches due to missing json keys in the pattern json object. 
    For example, be able to replace matches like @@env.css.darkStyle@@ instead of just @@env.css.darkStyle. This is needed to avoid erroneously substituting a partial match like @@env.css.darkStyle_header with the @@env.css.darkStyle match when darkStyle_header is not found in the pattern json.
    5793b26
    rrabb authored May 6, 2019
    Configuration menu
    Copy the full SHA
    b2c42fd View commit details
    Browse the repository at this point in the history