Search found 3 matches

by larnapairce
Fri Feb 06, 2004 11:11 am
Forum: General
Topic: syntax def-restrict to start of line
Replies: 0
Views: 108

syntax def-restrict to start of line

I'm in the middle of setting up a new .syn file

One of my keywords is 'tabs'.

However it's only a keyword when it's at the start of a line.
Otherwise it's a normal word not requiring any coloring.

Can this be done ? (I have ver 4.5.0)
Thanks
by larnapairce
Wed Aug 13, 2003 8:23 am
Forum: General
Topic: regex query
Replies: 3
Views: 366

Appreciate the replies from webmasta & Bob Hanson.

Great little solutions. Cheers.
by larnapairce
Tue Aug 12, 2003 3:08 pm
Forum: General
Topic: regex query
Replies: 3
Views: 366

regex query

I'm trying to do a simple find and replace BUT I need to restrict it to a specific column. e.g replace all 7's with 6's in column 252. I couldn't figure it out so I did it via a macro instead. Still very curious how it should be done. Perl would do it via something like : $temp =~ s/(.{251})7(.*)/$1 ...