[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Re: S & R query



In message <56b7c911f2Lists@xxxxxxxxxxx>
          "Richard Torrens (lists)" <Lists@xxxxxxxxxxx> wrote:

> In article <9572c7b756.Alan.Adams@xxxxxxxxxxxxxxxxxxxxxx>,
>    Alan Adams <alan@xxxxxxxxxxxxxxxx> wrote:
>>> White = '\t\x0A '  - so includes \t and $

>> In the StrongHelp it looks like /r/xOA, but it's difficult to be sure
>> in the typeface used.

> \s = white
> It includes space, TAB, and the characters used for Newline in the
> document.

According to the StrongHelp, \s is equivalent to \t\x0A. It is 
described as whitespace characters, but I don't see how that 
equivalence is for whitespace sharacters. To me it still looks liks 
tab followed by linefeed.

>> So that's tab followed by linefeed - that doesn't fit my definition of
>> whitespace, which would be any combination of tab and space
>> characters.

>> Would {\t|\x20} work, i.e. would each character be matched against one
>> of the options?

> {..} defines a repeat. | means OR

> A set is in single quotes. See
> http://diy.Torrens.org/RO/StrongED/man/search_adv.html#sets
> http://diy.Torrens.org/RO/StrongED/man/search_adv.html#ownchar

> '\t\x20' is probably what you want.

> I am keen to get people using the html instructions as if I haven't
> explained things simply enough I need to keep working on them!



-- 
Alan Adams, from Northamptonshire
alan@xxxxxxxxxxxxxxxx
http://www.nckc.org.uk/

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives and instructions at
http://diy.Torrens.org/RO/StrongED/index.html