Home
last modified time | relevance | path

Searched +full:escape +full:- +full:string +full:- +full:regexp (Results 1 – 25 of 132) sorted by relevance

123456

/third_party/vk-gl-cts/external/vulkan-docs/src/
Dpackage-lock.json2 "name": "Vulkan-Docs",
8 "escape-string-regexp": "^2.0.0", string
13 "node_modules/escape-string-regexp": {
15 … "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
16 …"integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMc…
24 "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
25 …"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod…
33 "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.8.tgz",
34 …"integrity": "sha512-oxMeX/Y35PNFuZoHp+jUj5OSEmLCaIH4KTFJh7a93cHBoFmpw2IoPs22VIz7vyO2YUnx2Tn9dzIwO…
Dpackage.json4 "escape-string-regexp": "^2.0.0", string
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-regexp-object.h7 * http://www.apache.org/licenses/LICENSE-2.0
21 #include "ecma-globals.h"
22 #include "re-compiler.h"
27 * \addtogroup ecmaregexpobject ECMA RegExp object related routines
32 * RegExp flags
38 RE_FLAG_EMPTY = 0u, /* Empty RegExp flags */
39 RE_FLAG_GLOBAL = (1u << 1), /**< ECMA-262 v5, 15.10.7.2 */
40 RE_FLAG_IGNORE_CASE = (1u << 2), /**< ECMA-262 v5, 15.10.7.3 */
41 RE_FLAG_MULTILINE = (1u << 3), /**< ECMA-262 v5, 15.10.7.4 */
42 RE_FLAG_STICKY = (1u << 4), /**< ECMA-262 v6, 21.2.5.12 */
[all …]
Decma-regexp-object.c7 * http://www.apache.org/licenses/LICENSE-2.0
16 #include "ecma-alloc.h"
17 #include "ecma-array-object.h"
18 #include "ecma-builtins.h"
19 #include "ecma-builtin-helpers.h"
20 #include "ecma-exceptions.h"
21 #include "ecma-gc.h"
22 #include "ecma-globals.h"
23 #include "ecma-objects.h"
24 #include "ecma-function-object.h"
[all …]
/third_party/skia/third_party/externals/tint/tools/src/cmd/fix-tests/
Dmain.go7 // http://www.apache.org/licenses/LICENSE-2.0
15 // fix-tests is a tool to update tests with new expected output.
26 "regexp"
41 fix-tests is a tool to update tests with new expected output.
43 fix-tests performs string matching and heuristics to fix up expected results of
50 fix-tests <executable>
52 executable - the path to the test executable to run.`)
66 // Create a temporary directory to hold the 'test-results.json' file
67 tmpDir, err := ioutil.TempDir("", "fix-tests")
76 // Full path to the 'test-results.json' in the temporary directory
[all …]
/third_party/skia/third_party/externals/tint/tools/src/match/
Dmatch.go7 // https://www.apache.org/licenses/LICENSE-2.0
21 "regexp"
26 type Test func(path string) bool
31 // pattern uses forward-slashes for directory separators '/', and may use the
33 // ? - matches any single non-separator character
34 // * - matches any sequence of non-separator characters
35 // ** - matches any sequence of characters including separators
36 func New(pattern string) (Test, error) { argument
39 // As the pattern may contain other regex sequences, the string has to be
42 // b) Escape the expression so that other sequences don't confuse the regex
[all …]
/third_party/jerryscript/jerry-core/parser/regexp/
Dre-parser.c7 * http://www.apache.org/licenses/LICENSE-2.0
16 #include "ecma-exceptions.h"
17 #include "ecma-globals.h"
18 #include "ecma-try-catch-macro.h"
20 #include "jrt-libc-includes.h"
21 #include "lit-char-helpers.h"
22 #include "re-compiler.h"
23 #include "re-parser.h"
40 * @return RegExp opcode
51 * @return RegExp opcode
[all …]
/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.h7 * http://www.apache.org/licenses/LICENSE-2.0
19 #include "ecma-globals.h"
51 PARSER_ERR_INVALID_ESCAPE_SEQUENCE, /**< invalid escape sequence */
52 PARSER_ERR_INVALID_UNICODE_ESCAPE_SEQUENCE, /**< invalid unicode escape sequence */
55 …PARSER_ERR_INVALID_KEYWORD, /**< escape sequences are not allowed in keywo…
62 PARSER_ERR_UNKNOWN_REGEXP_FLAG, /**< unknown regexp flag */
63 PARSER_ERR_DUPLICATED_REGEXP_FLAG, /**< duplicated regexp flag */
67 PARSER_ERR_STRING_TOO_LONG, /**< too long string literal */
69 PARSER_ERR_REGEXP_TOO_LONG, /**< too long regexp literal */
72 PARSER_ERR_UNTERMINATED_STRING, /**< unterminated string literal */
[all …]
Djs-parser-util.c7 * http://www.apache.org/licenses/LICENSE-2.0
16 #include "js-parser-internal.h"
46 uint32_t last_position = context_p->byte_code.last_position; in parser_emit_two_bytes()
50 parser_mem_page_t *page_p = context_p->byte_code.last_p; in parser_emit_two_bytes()
52 page_p->bytes[last_position] = first_byte; in parser_emit_two_bytes()
53 page_p->bytes[last_position + 1] = second_byte; in parser_emit_two_bytes()
54 context_p->byte_code.last_position = last_position + 2; in parser_emit_two_bytes()
60 parser_cbc_stream_alloc_page (context_p, &context_p->byte_code); in parser_emit_two_bytes()
61 page_p = context_p->byte_code.last_p; in parser_emit_two_bytes()
62 page_p->bytes[0] = first_byte; in parser_emit_two_bytes()
[all …]
/third_party/sqlite/src/
Dsqlite3icu.c17 ** language. The code for the "sqlite3" command-line shell is also in a
21 ** 2019.09.02-Complete codec logic for encryption and decryption.
39 ** ("International Components for Unicode", an open-source library
43 ** * An implementation of the SQL regexp() function (and hence REGEXP
52 ** provide case-independent matching.
56 #include <string.h>
87 # define SQLITE_EXTENSION_INIT1 /*no-op*/
89 # define SQLITE_EXTENSION_INIT3 /*no-op*/
131 sqlite3_result_error(pCtx, zBuf, -1); in icuFunctionError()
153 ** a multi-byte UTF8 character. It is copied here from SQLite source
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dregexp_adapter_re2.cc7 // http://www.apache.org/licenses/LICENSE-2.0
21 #include <string>
37 explicit RE2RegExpInput(const string& utf8_input) in RE2RegExpInput()
41 virtual string ToString() const { in ToString()
50 // string_ holds the string referenced by utf8_input_ as StringPiece doesn't
51 // copy the string passed in.
52 const string string_;
61 const RE2& regexp, in DispatchRE2Call() argument
62 string* out1, in DispatchRE2Call()
63 string* out2, in DispatchRE2Call()
[all …]
/third_party/skia/tools/run-wasm-gm-tests/
Dpackage-lock.json2 "name": "run-wasm-gm-tests",
9 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.8.tgz",
10 …"integrity": "sha512-KPcKqKm5UKDkaYPTuXSx8wEP7vE9GnuaXIZKijwRYcePpZFDVuy2a57LarFKiORbHOuTOOwYzxVxc…
15 "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz",
16 …"integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0…
24 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
25 …"integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgI…
27 "mime-types": "~2.1.24",
31 "agent-base": {
33 "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz",
[all …]
/third_party/skia/tools/perf-canvaskit-puppeteer/
Dpackage-lock.json2 "name": "perf-canvaskit-puppeteer",
9 "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.5.tgz",
10 …"integrity": "sha512-90hiq6/VqtQgX8Sp0EzeIsv3r+ellbGj4URKj5j30tLlZvRUpnAe9YbYnjl3pJM93GyXU0tghHhvX…
15 "resolved": "https://registry.npmjs.org/@types/yauzl/-/yauzl-2.9.1.tgz",
16 …"integrity": "sha512-A1b8SU4D10uoPjwb0lnHmmu8wZhR9d+9o2PKBQT2jU5YPTKsxac6M2qGAdY7VcL+dHHhARVUDmeg0…
24 "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
25 …"integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgI…
27 "mime-types": "~2.1.24",
31 "agent-base": {
33 "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-5.1.1.tgz",
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dtranslate_math.js1 // Copyright 2020-2024 The Khronos Group Inc.
3 // SPDX-License-Identifier: Apache-2.0
10 const escapeRegex = require("escape-string-regexp");
25 …const regex = new RegExp( escapeRegex(delim.left) + "([\\S\\s]*?)" + escapeRegex(delim.right), "g"…
/third_party/icu/icu4c/source/i18n/
Duregex.cpp5 * Copyright (C) 2004-2015, International Business Machines
32 #define REMAINING_CAPACITY(idx,len) ((((len)-(idx))>0)?((len)-(idx)):0)
46 // may be -1.
82 //----------------------------------------------------------------------------------------
86 //----------------------------------------------------------------------------------------
91 if (re == NULL || re->fMagic != REXP_MAGIC) { in validateRE()
95 …// !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher any… in validateRE()
96 if (requiresText && re->fText == NULL && !re->fOwnsText) { in validateRE()
103 //----------------------------------------------------------------------------------------
107 //----------------------------------------------------------------------------------------
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Duregex.cpp5 * Copyright (C) 2004-2015, International Business Machines
32 #define REMAINING_CAPACITY(idx,len) ((((len)-(idx))>0)?((len)-(idx)):0)
46 // may be -1.
82 //----------------------------------------------------------------------------------------
86 //----------------------------------------------------------------------------------------
91 if (re == NULL || re->fMagic != REXP_MAGIC) { in validateRE()
95 …// !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher any… in validateRE()
96 if (requiresText && re->fText == NULL && !re->fOwnsText) { in validateRE()
103 //----------------------------------------------------------------------------------------
107 //----------------------------------------------------------------------------------------
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_node/tools/src/cmd/run-cts/
Dmain.go7 // http://www.apache.org/licenses/LICENSE-2.0
15 // run-cts is a tool used to run the WebGPU CTS using the Dawn module for NodeJS
33 "regexp"
41 "github.com/mattn/go-colorable"
42 "github.com/mattn/go-isatty"
58 run-cts is a tool used to run the WebGPU CTS using the Dawn module for NodeJS
61 run-cts --dawn-node=<path to dawn.node> --cts=<path to WebGPU CTS> [test-query]`)
71 type dawnNodeFlags []string
73 func (f *dawnNodeFlags) String() string { func
77 func (f *dawnNodeFlags) Set(value string) error { argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/
Dyarn.lock5 "@babel/code-frame@^7.0.0":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49…
8 …integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7…
14 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa6195…
15 …integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChK…
19 js-tokens "^4.0.0"
23 …resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caa…
24 …integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHX…
28 …resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.5.tgz#e19436e7f8e9b4601005d73673b6d…
29 …integrity sha512-9fq4jZVhPNW8r+UYKnxF1e2HkDWOWKM5bC2/7c9wPV835I0aOrVbS/Hw/pWPk2uKrNXQqg9Z959Kz+IYD…
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/sva/
Dyarn.lock5 "@babel/code-frame@^7.0.0":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49…
8 …integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7…
14 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa6195…
15 …integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChK…
19 js-tokens "^4.0.0"
23 …resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caa…
24 …integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHX…
28 …resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.5.tgz#e19436e7f8e9b4601005d73673b6d…
29 …integrity sha512-9fq4jZVhPNW8r+UYKnxF1e2HkDWOWKM5bC2/7c9wPV835I0aOrVbS/Hw/pWPk2uKrNXQqg9Z959Kz+IYD…
[all …]
/third_party/python/Tools/scripts/
Dmailerdaemon.py2 """Classes to parse mailer-daemon messages."""
54 ('----- The following addresses had permanent fatal errors -----\n',
59 '------- Failure Reasons --------\n\n(?P<reason>.*)\n(?P<email>.*)',
63 '^Original-Recipient: rfc822;(?P<email>.*)',
70 # compile the re's in the list and store them in-place.
86 # if a string, "<>" is replaced by a copy of the email address.
94 re.compile('^Diagnostic-Code: (?P<reason>.*)', re.MULTILINE),
107 for regexp in emparse_list_list:
108 if type(regexp) is type(()):
109 res = regexp[0].search(data, 0, from_index)
[all …]
/third_party/icu/icu4c/source/common/unicode/
Dutypes.h5 * Copyright (C) 1996-2016, International Business Machines
30 * 12/07/99 helena Moved copyright notice string from ucnv_bld.h here.
53 * basic character and string definitions and umachine.h for consistent
99 * This is a platform-dependent string containing one letter:
100 * - b for big-endian, ASCII-family platforms
101 * - l for little-endian, ASCII-family platforms
102 * - e for big-endian, EBCDIC-family platforms
109 * The non-string form of U_ICUDATA_TYPE_LETTER
114 /* EBCDIC - should always be BE */
124 /* Big-endian ASCII */
[all …]
/third_party/skia/third_party/externals/icu/source/common/unicode/
Dutypes.h5 * Copyright (C) 1996-2016, International Business Machines
30 * 12/07/99 helena Moved copyright notice string from ucnv_bld.h here.
53 * basic character and string definitions and umachine.h for consistent
99 * This is a platform-dependent string containing one letter:
100 * - b for big-endian, ASCII-family platforms
101 * - l for little-endian, ASCII-family platforms
102 * - e for big-endian, EBCDIC-family platforms
109 * The non-string form of U_ICUDATA_TYPE_LETTER
114 /* EBCDIC - should always be BE */
124 /* Big-endian ASCII */
[all …]
/third_party/spirv-tools/tools/sva/
Dyarn.lock5 "@eslint-community/eslint-utils@^4.2.0":
7 …resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23…
8 …integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9…
10 eslint-visitor-keys "^3.3.0"
12 "@eslint-community/regexpp@^4.4.0":
14 …resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a…
15 …integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6F…
19 …resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f2777…
20 …integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuS…
27 import-fresh "^3.2.1"
[all …]
/third_party/parse5/
Dpackage-lock.json2 "name": "parse5-build-scripts",
7 "name": "parse5-build-scripts",
15 "@typescript-eslint/eslint-plugin": "^5.43.0",
16 "@typescript-eslint/parser": "^5.43.0",
18 "eslint-config-prettier": "^8.5.0",
19 "eslint-plugin-unicorn": "^44.0.2",
22 "lint-staged": "^13.0.3",
25 "ts-jest": "^29.0.3",
26 "ts-node": "^10.9.1",
32 "name": "parse5-benchmarks",
[all …]
/third_party/pcre2/pcre2/doc/
Dpcre2grep.txt6 pcre2grep - a grep with Perl-compatible regular expressions.
16 other grep commands do, but it uses the PCRE2 regular expression li-
17 brary to support patterns that are compatible with the regular expres-
18 sions of Perl 5. See pcre2syntax(3) for a quick-reference summary of
30 on the command line because they are interpreted by the shell, and in-
35 single pattern to be matched when neither -e nor -f is present. Con-
36 versely, when one or both of these options are used to specify pat-
37 terns, all arguments are treated as path names. At least one of -e, -f,
44 pcre2grep some-pattern file1 - file3
46 By default, input files are searched line by line, so pattern asser-
[all …]

123456