Skip to content

Commit 6c9de13

Browse files
committed
Added missing Macintosh line break
1 parent 808a28f commit 6c9de13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/ru/lanwen/verbalregex/VerbalExpression.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public Builder somethingButNot(final String pValue) {
233233
* @return this builder
234234
*/
235235
public Builder lineBreak() {
236-
return this.add("(?:\\n|(?:\\r\\n))");
236+
return this.add("(?:\\n|(?:\\r\\n)|(?:\\r\\r))");
237237
}
238238

239239
/**

0 commit comments

Comments
 (0)