On Tue, 26 Oct 2010, Karsten Br?ckelmann wrote:

On Tue, 2010-10-26 at 10:53 +0200, Raymond Dijkxhoorn wrote:
For your question, why dont you regexp it?

uri url_1 /www.domain(1|2|3|4).com/

The other technique you can use are meta rules

 uri __MY_BL_001 /example.(com|net)/
 uri __MY_BL_002 /example.org/

 meta  MY_BL  __MY_BL_001 || __MY_BL_002
 score MY_BL  10.0

The OP wasn't clear whether he wanted ten points _per URI hit_. If that's the case, the regex alternatives and meta solutions aren't appropriate and there's no way to avoid one score line per URI rule.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  ...the Fates notice those who buy chainsaws...
                                              -- www.darwinawards.com
-----------------------------------------------------------------------
 5 days until Halloween

Reply via email to