summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2017-01-11 17:21:20 +0000
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2017-01-12 09:22:24 +0000
commit69860bf2b28f0e14741a8895abdb77b45d1ed55d (patch)
tree601d599bd7aba89a308cbab7cd774c682e424ac2 /annotations/generate_annotated_java_files.py
parentd2e8a8a4c98852be942358697d2b54a8141c887b (diff)
Regex support for named capture groups.
3 new methods in Matcher class: group(String), start(String), end(String) that takes the name of named capture group. Definition (?<name>X) and backreferencing (\k<name>) both work fine. Added support for ${name} in replace methods. Test: vogar OldMatcherTest Bug: 19717812 Change-Id: Id6dce9158721917d644adb1a0b88d25ddb000fcd
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions