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

RegexOptions as function default parameters #16

Open
olsaarik opened this issue Aug 21, 2020 · 0 comments
Open

RegexOptions as function default parameters #16

olsaarik opened this issue Aug 21, 2020 · 0 comments

Comments

@olsaarik
Copy link
Collaborator

Because RegexOptions members (e.g. RegexOptions.None) aren't currently compile time constants they cannot be used as function default parameters. They should probably be made simple integer constants and an implicit cast from integers should be provided.

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