Java Pattern flags() MethodThe flag method of pattern class returns matcher flags of this pattern. SyntaxReturnsThe match flags specified when this pattern was compiled. Example 1Test it NowOutput: Value of flag : 6 Example 2Test it NowOutput: Value of flag : 4
Next TopicJava Regex
|