SKalt / brzozowski-ts

Typescript compile-time recognition of regular languages
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

[Feature]: dot-all matches #4

Closed SKalt closed 4 weeks ago

SKalt commented 4 weeks ago

Rationale

Expand ECMAScript RegExp support

Actual behavior

const matchesLetters: RecognizePattern<".", "a"> = true
const matchesNumbers: RecognizePattern<".", "0"> = true
const evenMatchesEmoji: RecognizePattern<".", "⭐"> = true