Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 2 down vote accepted

(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
    - 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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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