On Fri, Feb 08, 2008 at 05:25:17PM +1100, David Nicholls wrote: > This string finds what I'm after: > > <html>[\s\S]*?</html> > > but (due to lack of understanding) I don't know why the following string > doesn't work: > > <html>[.\r]*?</html> >
A period outside a character class matches any character other than a newline. A period inside a character class just matches a period. Ronald -- ------------------------------------------------------------------ Have a feature request? Not sure the software's working correctly? If so, please send mail to <[EMAIL PROTECTED]>, not to the list. List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml> List archives: <http://www.listsearch.com/BBEditTalk.lasso> To unsubscribe, send mail to: <[EMAIL PROTECTED]>
