Amanda-Users

Re: RegEx not working?

2007-05-10 18:54:49
Subject: Re: RegEx not working?
From: Olivier Nicole <on AT cs.ait.ac DOT th>
To: amanda AT richardleestockton DOT org
Date: Fri, 11 May 2007 08:50:16 +0700 (ICT)
>It was a bug if it worked before.
>The regex works correctly.
>[14]  is 1 or 4
>You want "^VOL14[0-9]".

Actually wouldn't it be better to use "^VOL14[0-9]$" to avoid any
trailing character after the third digit?

olivier


<Prev in Thread] Current Thread [Next in Thread>