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

Two new parser options for regex matching #46

Merged
merged 14 commits into from
Dec 3, 2023

Conversation

JohnnyGrey86
Copy link
Contributor

I have added two new options for the script, "subject_regex_match_anywhere" and "subject_regex_ignore_case".

re.match() only matches against the beginning of a text string. If subject_regex_match_anywhere is provided, it instead performs a re.search()

If subject_regex_ignore_case is provided, the re.IGNORECASE flag is provided.

Not sure if it's the most efficient way, but it works. Note: I am 100% new to Python, but have some novice VBA experience.

@github-actions github-actions bot added the Stale label Nov 28, 2023
@github-actions github-actions bot closed this Dec 3, 2023
@jamesridgway jamesridgway reopened this Dec 3, 2023
@jamesridgway jamesridgway removed the Stale label Dec 3, 2023
@jamesridgway jamesridgway merged commit f5b95d3 into jamesridgway:master Dec 3, 2023
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