Where can I learn more about the 'REGEXP' argument that is used throughout Opus commands?

This REGEXP is something I have come across a few times. For example today, I was trying to figure out how to copy paths with forward slashes rather back slashes, I found a for that specific issue in THIS thread.

M3IT's solution was also using the argument REGEXP to replace \ with /. I searched the manual and could not find a general overview, that explains how it works and in what areas it can be used in.

Can it be used to manipulate general strings in Opus? What RegEX engine is it using?

Any help would be greatly appreciated!

REGEXP is a switch for several commands. It tells the commands to treat patterns as regular expressions, not as standard wildcards. It is not a command by itself, so you always have to look at it from the context of the command line in which it is used.

The docs are all you need to get started:

Regular Expression Syntax

2 Likes

@lxp

Damn I was searching for REGEXP. Thanks for that lxp! and for the expalantion too!

1 Like