On Sat, 3 Oct 2009, Warren Togami wrote:
On 10/03/2009 07:11 PM, John Hardin wrote:
> [^./]{8}\.cn
>
> Actually, doesn't this match other characters that shouldn't be in a
> domain name?
...is _anything_ (apart from periods) excluded from domain names these
days? :)
Changed to \w{8} for testing. Can you provide examples of needing more
than \w?
I doubt it matters for this particular rule, but dash characters are valid in
domain names too right?
\w seems to be alpha, numeric and underscore. Underscore isn't valid in a
domain name.
True.
Let's let this version go through a masscheck cycle and then I'll change
it to [-\w]{8}
--
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
-----------------------------------------------------------------------
Vista "security improvements" consist of attempting to shift blame
onto the user when things go wrong.
-----------------------------------------------------------------------
Approximately 9134220 firearms legally purchased in the U.S. this year