regex - XML regular expressions flavor to Java regular expressions -


Is there a device or library used to translate the regular expression used in XSD (as described) Is the class of Java used to taste? Or, if unsuccessful, a Java Regular Expression Library which can handle XML Regular Expression Taste directly? Or if unsuccessful, what is the equivalent of the Java regular expression for the following XML regular expression?

  & lt; Xs: pattern value = "[\ w \ d] [\ w \ d \ -_.! \ ~ \ * '\ (\) \ + =] {2,}" />  

Yes, see

However, note that this targets JDK 1.4 Regular Expressions, not JDK 1.5 A great deal of its work is worried by the fact that JDK 1.4 does not handle non-BMP characters properly, a problem which is removed in JDK 1.5. If you have found a suitable version of Saxon (try 9.1), then you will find a version of this code optimized to target JDK 1.5. (Recent versions of Saxon have implemented the XSD / XPath regex bid originally.)


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -