Results 1 to 3 of 3

Thread: Help with regular expressions

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    2

    Question Help with regular expressions

    I was editing my PoF filters and noticed that Name:Fright matches both "Fright" and "a frightfinger". I'm wondering how can I make one that matches only "Fright".

    I tried:
    Name:^Fright
    Name:^Fright$
    Name:Fright$

    But none of them matches anything. And Fright was up when I checked these.

    Also, how do I put a filter that would match level 51 - 55 specrtes? Race:Spectre and Level:5[1-5] works for each individually, but how would I combine them?

    Thanks a lot in advance

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    To keep Fright from matching both, you have to set the filters to be case-sensitive. Also ^ means at the beginning of a line, so it shouldn't match anything like Name:^Fright. $ means end of line, so it won't work putting it right after the name because none of the mob lines end with just the mob name, they have the HP, position, items, etc... still on the line.

    Name:Fright:

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    275
    Look what order Race and Level come in then do either

    Race:Spectre.*Level:5[12]

    Or
    Level:5[12].*Race:Spectre

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is On
vB code is On
Smilies are On
[IMG] code is On