| browser.js |
|
0 |
- |
| shell.js |
|
0 |
- |
| slash-lower-case-z-matches-end-of-buffer-u-mode.js |
---
author: Ron Buckton
description: >
`\z` (lower-case z) matches end of buffer in u-mode.
info: |
Runtime Semantics: CompileAssertion
Assertion :: \z
1. Return a new Matcher with parameters (matchState, continue) that captures nothing and performs the following steps when called:
a. Assert: matchState is a MatchState.
b. Assert: continue is a MatcherContinuation.
c. Let input be matchState.[[Input]].
d. Let e be matchState.[[EndIndex]].
e. Let inputLength be the number of elements in input.
f. If e = inputLength, return continue(matchState).
g. Return failure.
esid: sec-patterns
features: [regexp-buffer-boundaries]
--- |
2917 |
- |
| slash-lower-case-z-matches-end-of-buffer-v-mode.js |
---
author: Ron Buckton
description: >
`\z` (lower-case z) matches end of buffer in v-mode.
info: |
Runtime Semantics: CompileAssertion
Assertion :: \z
1. Return a new Matcher with parameters (matchState, continue) that captures nothing and performs the following steps when called:
a. Assert: matchState is a MatchState.
b. Assert: continue is a MatcherContinuation.
c. Let input be matchState.[[Input]].
d. Let e be matchState.[[EndIndex]].
e. Let inputLength be the number of elements in input.
f. If e = inputLength, return continue(matchState).
g. Return failure.
esid: sec-patterns
features: [regexp-buffer-boundaries, regexp-v-flag]
--- |
2932 |
- |
| slash-upper-case-a-matches-start-of-buffer-u-mode.js |
---
author: Ron Buckton
description: >
`\A` matches start of buffer in u-mode.
info: |
Runtime Semantics: CompileAssertion
Assertion :: \A
1. Return a new Matcher with parameters (matchState, continue) that captures nothing and performs the following steps when called:
a. Assert: matchState is a MatchState.
b. Assert: continue is a MatcherContinuation.
c. Let e be matchState.[[EndIndex]].
d. If e = 0, return continue(matchState).
e. Return ~failure~.
esid: sec-patterns
features: [regexp-buffer-boundaries]
--- |
2425 |
- |
| slash-upper-case-a-matches-start-of-buffer-v-mode.js |
---
author: Ron Buckton
description: >
`\A` matches start of buffer in v-mode.
info: |
Runtime Semantics: CompileAssertion
Assertion :: \A
1. Return a new Matcher with parameters (matchState, continue) that captures nothing and performs the following steps when called:
a. Assert: matchState is a MatchState.
b. Assert: continue is a MatcherContinuation.
c. Let e be matchState.[[EndIndex]].
d. If e = 0, return continue(matchState).
e. Return ~failure~.
esid: sec-patterns
features: [regexp-buffer-boundaries, regexp-v-flag]
--- |
2440 |
- |
| slash-upper-case-z-matches-lineterminatorsequence-end-of-buffer-u-mode.js |
---
author: Ron Buckton
description: >
`\Z` (upper-case z) matches end of buffer after optional LineTerminatorSequence in u-mode.
info: |
Runtime Semantics: CompileAssertion
Assertion :: \Z
1. Return a new Matcher with parameters (matchState, continue) that captures nothing and performs the following steps when called:
a. Assert: matchState is a MatchState.
b. Assert: continue is a MatcherContinuation.
c. Let input be matchState.[[Input]].
d. Let e be matchState.[[EndIndex]].
e. Let inputLength be the number of elements in input.
f. If e = inputLength, return continue(matchState).
g. If e = inputLength - 1 and the character input[e] is matched by |LineTerminator|, then
i. Return continue(matchState).
h. If e = inputLength - 2, the character input[e] is matched by <CR>; and the character input[e + 1] is matched by <LF>;, then
i. Return continue(matchState).
i. Return failure.
esid: sec-patterns
features: [regexp-buffer-boundaries]
--- |
3986 |
- |
| slash-upper-case-z-matches-lineterminatorsequence-end-of-buffer-v-mode.js |
---
author: Ron Buckton
description: >
`\Z` (upper-case z) matches end of buffer after optional LineTerminatorSequence in v-mode.
info: |
Runtime Semantics: CompileAssertion
Assertion :: \Z
1. Return a new Matcher with parameters (matchState, continue) that captures nothing and performs the following steps when called:
a. Assert: matchState is a MatchState.
b. Assert: continue is a MatcherContinuation.
c. Let input be matchState.[[Input]].
d. Let e be matchState.[[EndIndex]].
e. Let inputLength be the number of elements in input.
f. If e = inputLength, return continue(matchState).
g. If e = inputLength - 1 and the character input[e] is matched by |LineTerminator|, then
i. Return continue(matchState).
h. If e = inputLength - 2, the character input[e] is matched by <CR>; and the character input[e + 1] is matched by <LF>;, then
i. Return continue(matchState).
i. Return failure.
esid: sec-patterns
features: [regexp-buffer-boundaries, regexp-v-flag]
--- |
4001 |
- |
| syntax |
|
|
- |