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 API to use custom regexes.yaml file #11

Open
bitc opened this issue May 23, 2020 · 0 comments
Open

Add API to use custom regexes.yaml file #11

bitc opened this issue May 23, 2020 · 0 comments

Comments

@bitc
Copy link

bitc commented May 23, 2020

This library currently embeds a version of regexes.yaml from uap-core and always uses it.

I propose to allow users to load a custom version of regexes.yaml. This way users can keep up to date with the upstream regexes.yaml without having to wait for new releases of this library, and users can add their own custom regexes.

The UAConfig type should be publicly exposed (including it's FromJSON instance), and then additional parse* functions should be provided that accept a UAConfig value.

I imagine that this won't be a lot of work to do, I can work on a pull request

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

No branches or pull requests

1 participant