Skip to content

Commit 74acaa8

Browse files
committed
Update RegexSyntax.md
1 parent ff717a3 commit 74acaa8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/Evolution/RegexSyntax.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -620,9 +620,9 @@ An absent function is an Oniguruma feature that allows for the easy inversion of
620620

621621
## Syntactic differences between engines
622622

623-
**TODO(Michael, if you want): Intro**
623+
The above regular expression grammar covers a superset of the syntax accepted by PCRE, ICU, Oniguruma, .NET, and Java. However there are cases where the same syntax is parsed differently by these engines. This section provides a summary of these differences, and specifies the interpretation that will be made by the Swift regex parser.
624624

625-
**TODO(Michael, if you want): Talk about compatibility modes for different engines being a possible future direction?**
625+
These differences inherently mean that our default parser behavior cannot be fully compatible with these other engines. However, this would not preclude the potential future implementation of different compatibility modes for different engines in which we support their parsing behavior of certain syntax.
626626

627627
### Character class set operations
628628

0 commit comments

Comments
 (0)