1

Is there a place where I can look, what kind of regexes I can use with the --tr option from cclive?

2

(Disclaimer: this answer is based on Internet research without hands-on experience with the program.)

CCLive supports the --tr option since version 0.7.6. Until then the --regexp option could be used:

0.7.6  Mon Sep 12 2011  Toni Gundogdu
Changes:
    - Add --tr (depr. --regexp, --subst)
    - Add --prefer-format
    - Revise manual

Looking at the man page, the --tr option states:

Default is "/(\w|\s)/g".

Since the regexp matching code is based on libpcre, I think the standard Perl Regular Expressions are allowed.

The source code that performs regular expression matching is also available to browse. I cannot really put all things together, but that might be the place for any special options used for pcre.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.