Skip to content

Commit 2b2f9e6

Browse files
committed
Document unsupported group and inline-flag patterns
Signed-off-by: Igor Peshansky <ipeshansky@nvidia.com>
1 parent d296c3f commit 2b2f9e6

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/compatibility.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,14 @@ The following regular expression patterns are not yet supported on the GPU and w
509509
- Possessive quantifiers, such as `a*+`
510510
- Character classes that use union, intersection, or subtraction semantics, such as `[a-d[m-p]]`, `[a-z&&[def]]`,
511511
or `[a-z&&[^bc]]`
512+
- Lookahead/lookbehind groups: `(?=a)`, `(?!a)`, `(?<=a)`, `(?<!a)`
513+
- Independent groups: `(?>a)`
514+
- Named capture groups: `(?<n>a)`
512515
- Empty groups: `()`
516+
- Inline flags other than case-insensitive matching, such as `(?m)`, `(?s)`, or `(?x)`
517+
- Case-insensitive matching (`(?i)`) whose scope would extend across a choice, such as `(?i)a|b`
518+
or `a(?i)b|c` (in Java the flag applies to the end of the enclosing group, crossing `|`), or that
519+
applies to a letter-valued escape, such as `(?i)\x61`
513520
- Empty pattern: `""`
514521

515522
Work is ongoing to increase the range of regular expressions that can run on the GPU.

0 commit comments

Comments
 (0)