PDA

View Full Version : Filter format?



JamTune
01-04-2004, 02:46 PM
ok what is the new filter format? Yes I did search and got a lot of old things.

I can see the basics:


seqfilters
section name="hunt"
what goes here??
/section
/seqfilters

My question points to the what goes here?? part.

Do I need the oldfilter or the regex?

I use to do: Name:orc pawn, a and that would work. Now if gives me nothing evern with:



oldfilter regexName:orc pawn, a /oldfilter /regex
or
oldfilter regex>Name:[#]*orc pawn, a /oldfilter /regex>


I don't know wild card matching all that well and I take it that’s what the #* is for.. If you have any good links to a page that can show/teach me wild card matching, that would be great!

Cryonic
01-04-2004, 03:07 PM
man regexp

http://cvs.sourceforge.net/viewcvs.py/*checkout*/seq/showeq/conf/filters.conf.dist?content-type=text%2Fplain&rev=1.4

JamTune
01-30-2004, 06:26 PM
Ok what am I doing wrong?

Here is what my filter file looks like



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE seqfilters SYSTEM "seqfilters.dtd">
<seqfilters>
<section="HUNT">
<oldfilter><regex>Name:Tallon Zek</regex></oldfilter>
</section>
<seqfilters>


I have also tired it with out the oldfilter tag.. never works..

When I first seen the filters where going to be xml I was glad. I was expecting somthing like..



<section="Hunt">
<regex>
<name>Tallon Zek</name>
<race>Tallon Zek</race>
</regex>
</section>


The way it is now would be fine IF I could ever get it to work..