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.
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.