Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Updates to IGNORE_DEFINITIONS_IN #202

Merged
merged 8 commits into from
Feb 25, 2016
Merged

Updates to IGNORE_DEFINITIONS_IN #202

merged 8 commits into from
Feb 25, 2016

Conversation

cmc333333
Copy link
Member

See changesets for specifics, but at the high level, this

  1. Reduces logic around this config
  2. Uses them when looking for terms being defined
  3. Allows ignores to begin/end with non-word chars

In service of 18F/atf-eregs#313

CM Lubinski added 8 commits February 25, 2016 19:46
Pull out the logic into a separate function
Previously, we only looked at the ignored config when finding _defined_ terms.
Use the same logic when finding the definition of a term
We had previously required that the beginning and end of an ignored phrase be
a word char (to play nicely with \b). This removes that unstated requirement
1) Treating "ignored" text as an exclusion
2) Allowing "ignored" text to begin/end with non-word chars
tadhg-ohiggins added a commit that referenced this pull request Feb 25, 2016
Updates to IGNORE_DEFINITIONS_IN
@tadhg-ohiggins tadhg-ohiggins merged commit c8164ce into eregs:master Feb 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants