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

JVM Style RE Doesn't Work With Native riddlc #1

Open
reid-spencer opened this issue Dec 14, 2024 · 0 comments
Open

JVM Style RE Doesn't Work With Native riddlc #1

reid-spencer opened this issue Dec 14, 2024 · 0 comments

Comments

@reid-spencer
Copy link

The relatively long and complicated regular expressions for emailAddress in Common/contact.riddl does not work correctly with the native version of riddlc because Scala Native uses Google's RE library, not the JVM's. The difference is noted here:

https://scala-native.org/en/stable/lib/javalib.html#regular-expressions-java-util-regex

This can safely be ignored and just use the JVM version or it could be changed to a simpler regular expression that is supported by both JVM and Google regular expression libraries.

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