macOS Tools
rxrx
rxrx is a command line regex debugger
ps1
cpanm Regexp::Debugger
Example Usage
Run:
ps1
rxrx
Enter a regex:
/(?:(?:\"|'|\]|\}|\\|\d|(?:nan|infinity|true|false|null|undefined|symbol|math)|\`|\-|\+)+[)]*;?((?:\s|-|~|!|{}|\|\||\+)*.*(?:.*=.*)))/
Enter a string:
'infinity=false'
To get a visual of the regex:
m
To step forward:
s
To get a full list of commands:
?