Obsolete Releases > SME 8.x Contribs
White list range of addresseses with Email WBL contrib
CharlieBrady:
--- Quote from: ReetP on January 14, 2015, 04:34:47 PM ---Damned if I now what a "start-anchored fragment" is !
--- End quote ---
I think you worked it out. It's a regular expression which uses a ^ anchor, but not a $ anchor. See the code that you quoted.
--- Quote ---I guess if you were trying to block say :
192.168.10.*
You could try just
192.168.10
--- End quote ---
No, you would use:
192.168.10.
Without the trailing . you will match 192.168.100 through 192.168.109.
ReetP:
--- Quote from: CharlieBrady on January 14, 2015, 06:08:02 PM ---I think you worked it out. It's a regular expression which uses a ^ anchor, but not a $ anchor. See the code that you quoted.
--- End quote ---
New one on me - only anchors I know are large heavy things you throw off the front of your vessel :-) Have some nice anecdotes on the subject from my seafaring days ....
--- Quote ---No, you would use:
192.168.10.
Without the trailing . you will match 192.168.100 through 192.168.109.
--- End quote ---
Ahhhhhh.........
Thanks Charlie.
reetp rushes off to fix the wiki again..... :-)
ReetP:
Follow up for v9 here:
https://forums.contribs.org/index.php/topic,53428.0.html
https://bugs.contribs.org/show_bug.cgi?id=10472
Navigation
[0] Message Index
[*] Previous page
Go to full version