On Mon, 28 Oct 2013, Marcio Humpris wrote:
Hi everyone
Martin, I tried
/\s{0,80}\S{1,20}\s{0,80}/
but it didnt work for me.
That RE is not anchored so it will match on any line that has at least one
non-space character in it. You need to anchor the beginning and ending of
the line explicitly for this to work:
/^\s{0,80}\S{1,20}\s{0,80}$/
--
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
-----------------------------------------------------------------------
...the Fates notice those who buy chainsaws...
-- www.darwinawards.com
-----------------------------------------------------------------------
3 days until Halloween