News for hackers. Stuff that matters.
Re:RegExr by goerz on Monday August 05, 2019 @01:48PM (#20616356)
The problem I have with all of these regex websites and tools is that they usually only use the regex dialect of whatever language they’re written in. Or at best, a very incomplete list of dialects. Subtle differences between dialects matter a lot. Personally, I would need at least Perl, Python, GNU utils (with and without -E), BSD utils (or whatever comes with macOS, again with and without-E), and vim with the various settings for “magic”. Ideally, they would also be able to convert between all these dialects.
Re:RegExr by LameRubberDucky on Monday August 05, 2019 @03:22PM (#20617697)
If you were on Windows, you could try RegexBuddy. It supports regex dialects for: .NET, Boost (C++), Delphi, Groovy, Oracle Database, PowerShell, R, std::regex, VB6, wxWidgets, C#, MySQL, PHP, PostgreSQL, VBScript, Java, Perl, PCRE, JavaScript, Python, Ruby, Tcl ARE, POSIX BRE, POSIX ERE, GNU BRE, GNU ERE, XML Schema, and XPath. It will even generate code snippets for you based on the regex you create with the tool. It can also convert between these dialects and lets you know if features in the target dialect are not available.

I am not associated with this company in any way, just a long time user.

Re:RegExr by goerz on Monday August 05, 2019 @04:58PM (#20618867)
That does look impressive! I'm tempted to check how well this runs in Wine (since I'm not a Windows user)
Re:RegExr by las_balas_tres on Tuesday August 06, 2019 @03:01AM (#20622845)
RegexBuddy is a fantastic piece of software. It also runs fine under Wine.
Re:RegExr by jonny_eh on Monday August 05, 2019 @03:56PM (#20618176)
https://regex101.com/ supports 4 dialects. Certainly not exhaustive, but very handy none-the-less.
Re:RegExr by 1f60c on Monday August 05, 2019 @02:37PM (#20617007)
Sounds like a fun side project :D