ColinEberhardt / assemblyscript-regex

A regex engine for AssemblyScript
MIT License
86 stars 12 forks source link

Run the unit tests in TypeScript mode as well as WebAssembly / AssemblyScript #17

Open ColinEberhardt opened 3 years ago

ColinEberhardt commented 3 years ago

In order to ease development I'd like to always ensure that this project works equally well as TypeScript. A good way to ensure this is to ruin the unit tests in TS as well as AS. see #5

ColinEberhardt commented 3 years ago

Currently the following regex (b|a){1,2} correctly matches the entire string ba in AssemblyScript, but only matches the first character in TypeScript mode