Skip to content

Releases

corvus-regex-ecma262 0.2.7

Choose a tag to compare

@endjin-bot endjin-bot released this 31 Oct 23:48
927b589

Changes

  • The grammar-only reader: memory in proportion to the pattern for nested named groups (#30)

corvus-regex-ecma262 0.2.6

Choose a tag to compare

@endjin-bot endjin-bot released this 31 Oct 19:49
32b600d

Changes

  • A grammar-only reader: Regex::is_valid_pattern, as .NET's IsValidPattern (#29)

corvus-regex-ecma262 0.2.5

Choose a tag to compare

@endjin-bot endjin-bot released this 29 Oct 17:28
4549072

Changes

  • A window reaches as many characters as it counts (#27)

corvus-regex-ecma262 0.2.4

Choose a tag to compare

@endjin-bot endjin-bot released this 29 Oct 07:04
262dcee

Changes

  • Getting-started pages for Rust and C, whose code CI runs (#25)

corvus-regex-ecma262 0.2.3

Choose a tag to compare

@endjin-bot endjin-bot released this 27 Oct 21:37
1036f87

Changes

  • The grammar of ECMAScript 2020 and a choice of Unicode version, in the crate and the C library (#23)

corvus-regex-ecma262 0.2.2

Choose a tag to compare

@endjin-bot endjin-bot released this 25 Oct 10:38
351bd70

Changes

  • Every merged pull request releases what it changed, with the next patch version, unless it is labelled no_release (#17)

harness 0.2.2.1

Choose a tag to compare

@endjin-bot endjin-bot released this 25 Oct 11:51
ca64e89

Changes

  • A count other than V8's is a wrong answer for every engine, whatever its dialect: no figure (#20)

Harness 0.2.1.5

Choose a tag to compare

@mwadams mwadams released this 24 Oct 11:42
11664dd

A harness release: the benchmark images alone (Rust and C), with no crate or C library version.

  • The data-set runners judge the exec calls of test262 (exec/test262.jsonl in the test data).
  • Each runner writes its engine's compliance file (--compliance): the counts, the runner and the calls it makes in each encoding, and what it leaves out, which the benchmark page shows as badges in place of a free-text note.
  • regress is judged over UTF-8 on captures.jsonl too, and gets 2 s an answer: a watchdog thread in its child processes times each answer by the thread's CPU time, and once three answers of a record reach the limit, its other answers are unanswered.
  • The checked-in counts are made again at cff0860: regress 29,233,572 right and 148,848 wrong; QuickJS 15,653,583 right and 109 wrong.

Harness 0.2.1.4

Choose a tag to compare

@mwadams mwadams released this 24 Oct 03:03
b8212eb

A harness release: the benchmark images alone (Rust and C), with no crate or C library version.

  • The test data pin moves to cff0860, where test262 is brought in properly (corvus-dotnet/ecma262-regex-test-data#10).
  • regress's and QuickJS's checked-in counts are made at cff0860: regress 26,252,609 right and 131,854 wrong; QuickJS 15,519,214 right and 109 wrong.
  • Dependabot never proposes a Node version or a major version of a base image.

corvus-regex-ecma262 0.2.1

Choose a tag to compare

@mwadams mwadams released this 23 Oct 11:05
d55a2bd

A fix to the search for where a match starts, in the crate and the C library. Patterns that are runs of loops followed by a literal could miss matches.

The fix

  • What went wrong. For a pattern that is loops followed by a literal (such as \b[0-9a-f]*ét or \W+[a-z]*\W*a), the search finds the literal and walks back over the loops' runs to the earliest start. It skipped starts it should have tried, so a match could be missed.
  • The three faults.
    • The occurrence of the literal itself was never tried as a start.
    • \b before the loops was allowed when only the first loop's set was of word characters.
    • The sets were checked for shared characters only where they were next to each other.
  • Now. A failed start moves a floor below which no start is tried again. Where every loop may be empty, the occurrence is then tried at once. \b needs every loop's set to be of word characters. Every two sets must share no character.

How it was found. A differential fuzzer, now fuzz.js in ecma262-regex-test-data, and the test data's new start-searches.jsonl family. A test now keeps every case the fuzzer found.

C library. No change to the API. CRE_VERSION_* is 0.2.1.

The test data gives 29,289,554 right answers and none wrong at 2b32a26, including start-searches.jsonl and ill-formed-utf8.jsonl. 24 seeds of the fuzzer are clean.