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

Unified Diff: third_party/re2/doc/mksyntaxgo

Issue 1544433002: Replace RE2 import with a dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-Added LICENSE and OWNERS file 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/re2/doc/README.xkcd ('k') | third_party/re2/doc/mksyntaxhtml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/re2/doc/mksyntaxgo
diff --git a/third_party/re2/doc/mksyntaxgo b/third_party/re2/doc/mksyntaxgo
deleted file mode 100755
index caad9b60b0315c2658271e238789c9204f7f7642..0000000000000000000000000000000000000000
--- a/third_party/re2/doc/mksyntaxgo
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-set -e
-out=$GOROOT/src/regexp/syntax/doc.go
-cp syntax.txt $out
-sam -d $out <<'!'
-,x g/NOT SUPPORTED/d
-/^Unicode character class/,$d
-,s/[«»]//g
-,x g/^Possessive repetitions:/d
-,x g/\\C/d
-,x g/Flag syntax/d
-,s/.=(true|false)/flag &/g
-,s/^Flags:/ Flag syntax is xyz (set) or -xyz (clear) or xy-z (set xy, clear z). The flags are:\n/
-,s/\n\n\n+/\n\n/g
-,x/(^.* .*\n)+/ | awk -F' ' '{printf(" %-14s %s\n", $1, $2)}'
-1,2c
-// Copyright 2012 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-// DO NOT EDIT. This file is generated by mksyntaxgo from the RE2 distribution.
-
-/*
-Package syntax parses regular expressions into parse trees and compiles
-parse trees into programs. Most clients of regular expressions will use the
-facilities of package regexp (such as Compile and Match) instead of this package.
-
-Syntax
-
-The regular expression syntax understood by this package when parsing with the Perl flag is as follows.
-Parts of the syntax can be disabled by passing alternate flags to Parse.
-
-.
-$a
-*/
-package syntax
-.
-w
-q
-!
« no previous file with comments | « third_party/re2/doc/README.xkcd ('k') | third_party/re2/doc/mksyntaxhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698