Skip to content

414 reg ex - Updated reg expression searching, added explicit vs non search feature, cleaned up test and main files #432

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

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

LmCastelli
Copy link
Collaborator

Regular expression searching has been updated to allow for explicit vs non explicit searching, the test file has passing tests for said functionality. Additionally, findMatches has been separated into three helper functions for cleaner readability and consistency. Both files have been cleaned up and unnecessary comments have been deleted.

Copy link
Contributor

@mikemitchel mikemitchel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, tests are not passing, make sure they pass locally

// Tests for these functions reflect that varname and testValue will be lowercase by the point they reach these functions

describe('findMacroMatches', function () {
it.only('returns matches based on A2J Macro Syntax', function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove .only so other tests can run

@@ -0,0 +1,166 @@
import 'jquery'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see if jquery is required, if not, remove import

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants