2007-11-26
12:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Watchlist format
I'm trying to create a watchlist using regex, but it does not seem to be working as I would expect. Does anyone have any examples of the syntax for using regex?
For instance, if I had the following range to block:
10.1.100.26 - 10.1.100.40
How would I write it? In an existing regex system that we use, it would be written as:
10\.1\.100\.(2[6-9]|3[0-9]|40)
Do I need a carrot (^) at the start and a dollar sign ($) at the end, or do I even need the backslashes to denote the period?
1 Reply
2007-12-18
05:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Here is a programa that you can use to test your regular expressions, good luck I'll write it as \d+.\d+.\d+.\d+ plus sign indicates one or more digits
Message Edited by otoquero on 12-18-200704:55 PM
Message Edited by otoquero on 12-18-200704:55 PM
