firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.24k stars 199 forks source link

.NET flavour has an 'engine error' #1887

Closed anhwilson closed 1 year ago

anhwilson commented 2 years ago

Bug Description

.NET regex engine is displaying an 'engine error' "Unable to initialize the regex engine! Please try to reload the web page. If the issue persists, please open an issue here: https://github.com/firasdib/Regex101/issues" I've seen this a few times using the .NET engine.

Reproduction steps

  1. load web page.
  2. select .NET (C#) as the Flavour
  3. enter '.*' as the Regular Expression (without single quotes)
  4. enter 'test' as the Test String (without single quotes)
  5. error is displayed

the expression works for other flavours, and refreshing browser does not have an impact

Expected Outcome

a match should be made and no error thrown

Browser

Edge Version 104.0.1293.70 (Official build) (64-bit) Chrome Version 105.0.5195.102 (Official Build) (64-bit)

OS

Windows 10 Pro 10.0.19042

firasdib commented 2 years ago

I need more debug information about your system to understand why it doesn't work.

Can you open your terminal and observe any errors in the network or console window?