Evidence and archive

regexp.ts · part 1

Full reference
Topics
Status
Showing all 4

4 text occurrences from packages/codemode/src/stdlib/regexp.ts, part 1. Every entry preserves the shipped literal and its saved verdict or selection reason.

File contents and all parts · All files

Shipped text

To match special characters like ( ) { } + ? . literally, escape them with

Source: packages/codemode/src/stdlib/regexp.ts, characters 435–591, SHA-256 af3ebe12461d59d7.

Jev judged not model-facing (confidence 0.36; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: To match special characters like ( ) [ ] { } + * ? . literally, escape them with a backslash (e.g. "\\(") or test for them with String.includes instead.

To match special characters like ( ) [ ] { } + * ? . literally, escape them with a backslash (e.g. "\\(") or test for them with String.includes instead.

String.${method} received the string ${JSON.stringify(arg)}, which is not a vali

Source: packages/codemode/src/stdlib/regexp.ts, characters 904–1065, SHA-256 7f18c6ca895ca9f7.

Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: String.${method} received the string ${JSON.stringify(arg)}, which is not a valid regular expression pattern (${regexFailureReason(error)}). ${escapeRegexHint}

String.${method} received the string ${JSON.stringify(arg)}, which is not a valid regular expression pattern (${regexFailureReason(error)}). ${escapeRegexHint}

String.${method} expects a regular expression (a /pattern/flags literal or new R

Source: packages/codemode/src/stdlib/regexp.ts, characters 1158–1315, SHA-256 f266283a33f8c896.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: String.${method} expects a regular expression (a /pattern/flags literal or new RegExp(...)) or a string pattern, not ${arg === null ? "null" : typeof arg}.

String.${method} expects a regular expression (a /pattern/flags literal or new RegExp(...)) or a string pattern, not ${arg === null ? "null" : typeof arg}.

RegExp method '${name}' is not available in CodeMode.

Source: packages/codemode/src/stdlib/regexp.ts, characters 2372–2427, SHA-256 53e962dd7fa2ad5f.

Jev judged not model-facing (confidence 0.08; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: RegExp method '${name}' is not available in CodeMode.

RegExp method '${name}' is not available in CodeMode.