Hello,
Proposal not guarantee the hypothesis that one or more lines are passed to the matcher
Code:
Pattern pattern = Pattern.compiles( "^\\p (Space) * procedure\\(p) + Space division .* $ ", Pattern.MULTILINE | Pattern.Case_insensitive );
- ^ \ \ p (Space) * to recognize "white" before the line
- procedure
- \ \ p (Space) + for at least one "white"
- Division
- $ .* To accept anything until the end of line
I did not put that because I do not. between procedure and division and put case_insensitive to avoid (? i).
Bookmarks