sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
* Matching shortest string in se's
@ 1995-08-04 19:54 hc05
  0 siblings, 0 replies; only message in thread
From: hc05 @ 1995-08-04 19:54 UTC (permalink / raw)
  To: sam-fans


Is there an easy way that I have missed to match blocks of code bounded
by tags of multiple characters using sam?  Examples would be C comments 
(/*..*/)
or HTML tags (<pre>...</pre>).  I've done the comments in the past by typing
out the combinations of things that I don't want to match in between

,x#/\*([^*/]|\n|[^*]/|\*[^/]|\*\n)+\*/#d

but the combinations expand rapidly as I try to match longer tags.  Is there
something else I should try?

Thanks,
Beirne



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-08-04 19:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-08-04 19:54 Matching shortest string in se's hc05

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).