Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plug for RegularExpression (Regex) #3005

Closed
xavier114 opened this issue Apr 23, 2024 · 3 comments
Closed

Plug for RegularExpression (Regex) #3005

xavier114 opened this issue Apr 23, 2024 · 3 comments

Comments

@xavier114
Copy link

What is the usecase for this plug
There should be a plug for RegularExpression so Regex could be Used.

** Complexity of plug **
I dont think so

Describe alternatives you've considered
Well i use simpler command

Additional context
Its just would be useful for Command lIne parsing which is a big part of Command Line Interface.

@zarlo
Copy link
Member

zarlo commented Apr 23, 2024

when we update to .net 8 we should have support for ".NET regular expression source generators" so you will be able to use regex if the expressions are known at compile time

and as for plugging runtime Regex it makes use of emit and reflection so that will take a while

@xavier114
Copy link
Author

Okay thanks a lot for this informations.

@Blackneeed
Copy link
Contributor

SammaPixelStudio has made a port of RegularExpression for COSMOS:
https://github.com/Samma2009/System.Text.RegularExpressions

And if you have some questions about it, ask him @Samma2009

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

No branches or pull requests

4 participants