Categories:
Audio (13)
Biotech (29)
Bytecode (22)
Database (79)
Framework (7)
Game (7)
General (497)
Graphics (53)
I/O (32)
IDE (2)
JAR Tools (70)
JavaBeans (16)
JDBC (86)
JDK (338)
JSP (20)
Logging (90)
Mail (54)
Messaging (8)
Network (106)
PDF (82)
Report (7)
Scripting (75)
Security (67)
Server (112)
Servlet (17)
SOAP (24)
Testing (55)
Web (24)
XML (287)
Other Resources:
java.base/java.util.regex.PrintPattern - Regex Pattern Parser
How to run "java.base/java.util.regex.PrintPattern" tool from JDK lib\modules JImage file?
✍: FYIcenter
"java.base/java.util.regex.PrintPattern" tool allows you
to parse a regular expression pattern and print out its components.
"java.base/java.util.regex.PrintPattern" tool is supported by the jmods\jdk.base.jmod module file, which is also linked into the lib\modules JImage file in JDK 9, 10, and 11.
"java.base/java.util.regex.PrintPattern" tool using the lib\modules JImage file as described below using JDK 11 as an example:
C:\fyicenter>set JDK_HOME=\fyicenter\jdk-11.0.1 C:\fyicenter>%JDK_HOME%\bin\java --module java.base/java.util.regex.PrintPattern ^\D\w+(\.\w+)*[@]\w+(\.\w+)*\.[a-zA-Z]{2,4}$ Pattern: \D\w+(\.\w+)*[@]\w+(\.\w+)*\.[a-zA-Z]{2,4}$ 0: <Start> 1: <CharProperty> 2: <BmpCharPropertyGreedy Single "ASCII.WORD"+> 3: <Prolog> 4: <Loop * > 5: <Group.head 1> 6: <BmpCharProperty> 7: <BmpCharPropertyGreedy Single "ASCII.WORD"+> 8: </Group.tail 1> < (=>%d)> </Loop> 9: <BmpCharProperty> 10: <BmpCharPropertyGreedy Single "ASCII.WORD"+> 11: <Prolog> 12: <Loop * > 13: <Group.head 2> 14: <BmpCharProperty> 15: <BmpCharPropertyGreedy Single "ASCII.WORD"+> 16: </Group.tail 2> < (=>%d)> </Loop> 17: <BmpCharProperty> 18: <Curly GREEDY {2, 4}> 19: <BmpCharProperty> </Curly> 20: <Dollar> 21: <END>
⇒ java.base/sun.security.tools.keytool.Main - "keytool" Command
⇐ java.base/com.sun.java.util.jar.pack.Driver - Pack200 Tool
2019-10-18, 672👍, 0💬
Popular Posts:
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...
commons-lang3-3.8.1.jar is the JAR file for Apache Commons Lang 3.5, which provides a host of helper...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
Xalan-Java, Version 2.7.1, is an XSLT processor for transforming XML documents into HTML, text, or o...
What Is commons-codec-1.4.jar? commons-codec-1.4.jar is the JAR file for Apache Commons Codec 1.4, w...