Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: third_party/re2/doc/mksyntaxgo

Issue 1516543002: Update re2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated update instructions Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/re2/benchlog/benchplot.py ('k') | third_party/re2/doc/syntax.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 set -e 3 set -e
4 out=$GOROOT/src/pkg/regexp/syntax/doc.go 4 out=$GOROOT/src/regexp/syntax/doc.go
5 cp syntax.txt $out 5 cp syntax.txt $out
6 sam -d $out <<'!' 6 sam -d $out <<'!'
7 ,x g/NOT SUPPORTED/d 7 ,x g/NOT SUPPORTED/d
8 /^Unicode character class/,$d 8 /^Unicode character class/,$d
9 ,s/[«»]//g 9 ,s/[«»]//g
10 ,x g/^Possessive repetitions:/d 10 ,x g/^Possessive repetitions:/d
11 ,x g/\\C/d 11 ,x g/\\C/d
12 ,x g/Flag syntax/d 12 ,x g/Flag syntax/d
13 ,s/.=(true|false)/flag &/g 13 ,s/.=(true|false)/flag &/g
14 ,s/^Flags:/ Flag syntax is xyz (set) or -xyz (clear) or xy-z (set xy, clear z). The flags are:\n/ 14 ,s/^Flags:/ Flag syntax is xyz (set) or -xyz (clear) or xy-z (set xy, clear z). The flags are:\n/
(...skipping 17 matching lines...) Expand all
32 Parts of the syntax can be disabled by passing alternate flags to Parse. 32 Parts of the syntax can be disabled by passing alternate flags to Parse.
33 33
34 . 34 .
35 $a 35 $a
36 */ 36 */
37 package syntax 37 package syntax
38 . 38 .
39 w 39 w
40 q 40 q
41 ! 41 !
OLDNEW
« no previous file with comments | « third_party/re2/benchlog/benchplot.py ('k') | third_party/re2/doc/syntax.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698