[Box Backup] Documentation error?

Chris Wilson chris at qwirx.com
Thu Nov 29 22:09:50 GMT 2012


Hi Pete,

On Thu, 29 Nov 2012, Peter Jalajas, GigaLock Backup Services wrote:

>> It's also invalid to start with an asterisk. Where did you find this?
> 
> I read the leading asterisk as being general enough that you _could_ have a file just named "mp3", as odd as that may be. 
> +\.(mp3|MP3)$  is probably more realistic.  

That won't work either.

* and + mean "repeat the last character" (zero or more times, resp. one or 
more times). There is no previous character at the beginning of the 
expression, which makes it invalid.

Cheers, Chris.
-- 
_____ __     _
\  __/ / ,__(_)_  | Chris Wilson <chris+sig at qwirx.com> Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
\__/_/_/_//_/___/ | We are GNU : free your mind & your software |


More information about the Boxbackup mailing list