Is it possible to work with regular expressions in GWT? The java.util.regex package is not available. I have sketched a Java application (Awt + Swing), the logic is completely working. Now you need to learn GWT, because the application was intended to be made for the browser. There are a lot of regular expressions in my application. Therefore, if in GWT there is a mechanism for templates, do the same rules as in java.util.regex are used there or not? That is, will all my templates work just as well?
1 answer
In GWT you need to use com.google.gwt.regexp.shared
- according to the documentation, regexps are compatible with JS:
The super-sourced GWT Javascript classes.
|