I am trying to match images, the following works:
!@@{TOPDIR}/public_html/cache/thumbnail/article_small/.*\.jpg$
The following does not work:
!@@{TOPDIR}/public_html/cache/thumbnail/article_small/[a-zA-Z0-9]*\.jpg$
!@@{TOPDIR}/public_html/cache/thumbnail/article_small/.*\.[jpg|JPG]$
!@@{TOPDIR}/public_html/cache/thumbnail/article_small/.*\.[jpg|JPG]+$
!@@{TOPDIR}/public_html/cache/thumbnail/article_small/.*\.[jpgJPG]$
!@@{TOPDIR}/public_html/cache/thumbnail/article_small/.*\.[jJ][pP][gG]$
(I also tried replacing @@{TOPDIR} with /home/myusername
According to the aide manual:
http://www.cs.tut.fi/~rammer/aide/manual.html
the [a-zA-Z0-9] syntax should be allowed:
From the manual:
Quote:
However since the negative selection rules are checked last and .* can match to an empty string /var/log/messages is not added to the database. The following is a more correct way of doing it.
/ R
=/var/log/messages$ R+a
!/var/log/messages\.[0-9]$
|
Does anyone know why its not matching my patterns?
TIA