/dports/lang/racket/racket-8.3/src/regexp/match/ |
H A D | regexp.rkt | 11 (provide (struct-out rx:regexp) 20 source ; original source string/bytes, but made immutable 34 (write (rx:regexp-source rx) port)) 38 (and (eq? (rx:regexp-px? a) (rx:regexp-px? b)) 39 (equal? (rx:regexp-source a) (rx:regexp-source b)))) 41 (hc (rx:regexp-source a))) 43 (hc (rx:regexp-source a))))) 66 (and (rx:regexp? v) 70 (and (rx:regexp? v) 74 (and (rx:regexp? v) [all …]
|
/dports/lang/racket-minimal/racket-8.3/src/regexp/match/ |
H A D | regexp.rkt | 11 (provide (struct-out rx:regexp) 20 source ; original source string/bytes, but made immutable 34 (write (rx:regexp-source rx) port)) 38 (and (eq? (rx:regexp-px? a) (rx:regexp-px? b)) 39 (equal? (rx:regexp-source a) (rx:regexp-source b)))) 41 (hc (rx:regexp-source a))) 43 (hc (rx:regexp-source a))))) 66 (and (rx:regexp? v) 70 (and (rx:regexp? v) 74 (and (rx:regexp? v) [all …]
|
/dports/lang/racket/racket-8.3/collects/pkg/ |
H A D | name.rkt | 35 [(regexp-match? rx:package-name name) 79 (define (string-and-regexp-match? rx s) 81 (regexp-match? rx s))) 102 (regexp-match rx:archive s))) 106 (cor (regexp-match rx:archive s) 137 (regexp-match? rx:package-name s)) 144 (not (regexp-match? #rx"^git(?:hub)?://" s))) 158 (regexp-match? #rx"^(https?|github|git([+]https?)?)://" s)) 275 (regexp-match #rx"^file://" s)) 299 (regexp-match? #rx"^[a-zA-Z]*://" s)) [all …]
|
/dports/lang/racket-minimal/racket-8.3/collects/pkg/ |
H A D | name.rkt | 35 [(regexp-match? rx:package-name name) 79 (define (string-and-regexp-match? rx s) 81 (regexp-match? rx s))) 102 (regexp-match rx:archive s))) 106 (cor (regexp-match rx:archive s) 137 (regexp-match? rx:package-name s)) 144 (not (regexp-match? #rx"^git(?:hub)?://" s))) 158 (regexp-match? #rx"^(https?|github|git([+]https?)?)://" s)) 275 (regexp-match #rx"^file://" s)) 299 (regexp-match? #rx"^[a-zA-Z]*://" s)) [all …]
|
/dports/lang/v8/v8-9.6.180.12/src/builtins/ |
H A D | string-match-search.tq | 2 // Use of this source code is governed by a BSD-style license that can be 12 return regexp::IsFastRegExpForMatch(maybeRegExp); 15 regexp: FastJSRegExp, string: String): JSAny { 16 return regexp::RegExpMatchFast(regexp, string); 29 return regexp::RegExpSearchFast(regexp, string); 48 if (regexp != Undefined && regexp != Null) { 62 // 4. Let rx be ? RegExpCreate(regexp, undefined). 63 const rx = regexp::RegExpCreate(context, regexp, kEmptyString); 65 // 5. Return ? Invoke(rx, @@match/@@search, « string »). 66 const fn = GetProperty(rx, functor.FnSymbol()); [all …]
|
/dports/www/nginx-full/njs-0.7.1/src/ |
H A D | njs_regexp.c | 126 source = vm->retval; in njs_regexp_constructor() 130 pattern = &source; in njs_regexp_constructor() 295 pattern->source = p; in njs_regexp_pattern_create() 652 src.start = pattern->source; in njs_regexp_prototype_source() 680 &source); in njs_regexp_prototype_to_string() 685 ret = njs_value_to_string(vm, &source, &source); in njs_regexp_prototype_to_string() 740 s.start = pattern->source; in njs_regexp_to_string() 1218 rx = njs_argument(args, 0); in njs_regexp_prototype_symbol_replace() 1527 rx = njs_argument(args, 0); in njs_regexp_prototype_symbol_split() 1569 arguments[0] = *rx; in njs_regexp_prototype_symbol_split() [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/at-exp-lib/scribble/ |
H A D | reader.rkt | 73 (regexp-match? #rx#"^\\^" (object-name pattern))) 80 ;; (regexp-match? #rx#"^\\^" (object-name pattern))) 148 (if (regexp-match? #rx"^ *$" bs start) 183 (define (*match rx) (*regexp-match rx inp)) 184 (define (*match1 rx) (*regexp-match1 rx inp)) 185 ;; (define (*skip rx) (*regexp-match-positions rx inp)) ; <- see above 186 (define (*skip rx) (*regexp-match1 rx inp)) 187 (define (*peek rx) (*regexp-match-peek-positions rx inp)) 315 (let ([n (car (regexp-match-positions #rx#"\n" m))]) 355 [(*peek #rx#"^$") [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/lang/gcc8/gcc-8.5.0/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/lang/gcc48/gcc-4.8.5/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/net/google-cloud-sdk-app-engine-go/platform/google_appengine/goroot-1.9/src/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/lang/gcc9/gcc-9.4.0/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llgo/third_party/gofrontend/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/devel/mingw32-gcc/gcc-4.8.1/libgo/go/index/suffixarray/ |
H A D | suffixarray_test.go | 18 source string // source to index member 127 exp := find(tc.source, s, n) 142 if r < 0 || len(tc.source) <= r { 144 } else if !strings.HasPrefix(tc.source[r:], s) { 163 func testFindAllIndex(t *testing.T, tc *testCase, x *Index, rx *regexp.Regexp, n int) { 164 res := x.FindAllIndex(rx, n) 165 exp := rx.FindAllStringIndex(tc.source, n) 181 } else if !rx.MatchString(tc.source[r[0]:r[1]]) { 201 if rx, err := regexp.Compile(pat); err == nil { 202 testFindAllIndex(t, tc, x, rx, n) [all …]
|
/dports/lang/racket/racket-8.3/collects/setup/ |
H A D | unixstyle-install.rkt | 267 (cond [(or (regexp-match #rx#"^\177ELF" magic) 279 [(regexp-match #rx#"^#!/bin/sh" magic) 299 (when (regexp-match? #rx"[.]desktop$" d) 334 (define m (regexp-match #rx"^pkgs/(.*)$" p)) 664 (when (regexp-match? #rx"--source" (car adjust-mode)) 687 (when (regexp-match? #rx"--source" (cadr adjust-mode)) 746 [(regexp-match? #rx"[*?.]" s) 747 (let* ([rx (regexp-replace* #rx"[.]" s "[.]")] 748 [rx (regexp-replace* #rx"[?]" s ".")] 749 [rx (regexp-replace* #rx"[*]" rx ".*")] [all …]
|
/dports/lang/racket-minimal/racket-8.3/collects/setup/ |
H A D | unixstyle-install.rkt | 267 (cond [(or (regexp-match #rx#"^\177ELF" magic) 279 [(regexp-match #rx#"^#!/bin/sh" magic) 299 (when (regexp-match? #rx"[.]desktop$" d) 334 (define m (regexp-match #rx"^pkgs/(.*)$" p)) 664 (when (regexp-match? #rx"--source" (car adjust-mode)) 687 (when (regexp-match? #rx"--source" (cadr adjust-mode)) 746 [(regexp-match? #rx"[*?.]" s) 747 (let* ([rx (regexp-replace* #rx"[.]" s "[.]")] 748 [rx (regexp-replace* #rx"[?]" s ".")] 749 [rx (regexp-replace* #rx"[*]" rx ".*")] [all …]
|