assemblyscript-regex
assemblyscript-regex copied to clipboard
Run the unit tests in TypeScript mode as well as WebAssembly / AssemblyScript
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
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