Skip to content

Commit

Permalink
Mention (?m) in the comment about posix_syntax == false.
Browse files Browse the repository at this point in the history
Change-Id: Icbf0f353cea933442970f697704594d10f602216
Reviewed-on: https://code-review.googlesource.com/33670
Reviewed-by: Paul Wankadia <[email protected]>
  • Loading branch information
junyer committed Sep 28, 2018
1 parent e6acac8 commit 0a6326b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions re2/re2.h
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,9 @@ class RE2 {
// with (?i) unless in posix_syntax mode)
//
// The following options are only consulted when posix_syntax == true.
// (When posix_syntax == false these features are always enabled and
// cannot be turned off.)
// When posix_syntax == false, these features are always enabled and
// cannot be turned off; to perform multi-line matching in that case,
// begin the regexp with (?m).
// perl_classes (false) allow Perl's \d \s \w \D \S \W
// word_boundary (false) allow Perl's \b \B (word boundary and not)
// one_line (false) ^ and $ only match beginning and end of text
Expand Down

0 comments on commit 0a6326b

Please sign in to comment.