On Fri, 23 Apr 2021, RW wrote:

On Fri, 23 Apr 2021 13:52:40 -0500 (CDT)
David B Funk wrote:

On Fri, 23 Apr 2021, Steve Dondley wrote:

I'm looking at KAM.cf. There is this rule:

body    __KAM_WEB2  /INDIA based
IT|indian.based.website|certified.it.company/i

I'm wondering if there is a good reason why a singe period is used
instead of something like \s+ which would catch multiple spaces
whereas a singe period doesn't.

Because '/indian.based.website'/ will match 'indian-based_website'
but \s will not.

\W+ might be better though

Not unbounded it isn't. \W{1,5} might be better without being runaway.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org                         pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Are you a mildly tech-literate politico horrified by the level of
  ignorance demonstrated by lawmakers gearing up to regulate online
  technology they don't even begin to grasp? Cool. Now you have a
  tiny glimpse into a day in the life of a gun owner.   -- Sean Davis
-----------------------------------------------------------------------
 329 days since the first private commercial manned orbital mission (SpaceX)

Reply via email to