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