Skip to content

Conversation

@stevenh
Copy link
Collaborator

@stevenh stevenh commented Dec 6, 2022

Add support for ECMAScript compatible regular expression engine via regexp2 using functional options e.g.

vm := New(RegExp(regexp2.Creator{}))

This also adds function option support for the existing options:

  • Debugger - Deprecates: SetDebuggerHandler
  • RandomSource - Deprecates: SetRandomSource.
  • Stack - Deprecates: SetStackLimit.
  • StackTrace - Deprecates: SetStackTraceLimit.

@stevenh stevenh force-pushed the feat/regexp-option branch 2 times, most recently from e33f36c to 893429c Compare December 6, 2022 19:13
@stevenh
Copy link
Collaborator Author

stevenh commented Dec 6, 2022

Thoughts @andig ?

@andig
Copy link
Contributor

andig commented Dec 6, 2022

No idea, sorry. I‘m more a drive-by user 🤠

Add support for ECMAScript compatible regular expression engine via
regexp2 using functional options e.g.

vm := New(RegExp(regexp2.Creator{}))

This also adds function option support for the existing options:
* Debugger - Deprecates: SetDebuggerHandler
* RandomSource - Deprecates: SetRandomSource.
* Stack - Deprecates: SetStackLimit.
* StackTrace - Deprecates: SetStackTraceLimit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants