Re: How to use Lua patterns in Find

From: mitchell <mforal.n....at.gmail.com>
Date: Sun, 18 Apr 2010 14:00:58 -0700 (PDT)

Hi,

> Newbie question (read the Lua pattern documentation)
>
> How to use the Lua pattern switch in Find ?
>
> Tried the following patterns In the Find dialog with the Lua pattern
> switch enabled
>
> /sometext.$/  => no match
> sometext.$ => no match
> sometext. => finds "sometext " but not "sometext more text"
>
> I thought the dot (.) should find all characters. Combined with the $
> should it not find
> the text "sometext more text" ?

sometext.-[\r\n]

$ will match to the end of the document, not the end of line.

Mitchell

>
> --
> You received this message because you are subscribed to the Google Groups "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/textadept?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "textadept" group.
To post to this group, send email to textadept.at.googlegroups.com.
To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
Received on Sun 18 Apr 2010 - 17:00:58 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:43:51 EST