From: Bengt Kleberg <bengt@softwell.se>
To: sam-fans@hawkwind.utcs.toronto.edu
Subject: Re: shorter struct regex?
Date: Thu, 23 Mar 2000 04:51:53 -0500 [thread overview]
Message-ID: <200003230949.KAA19813@trillian.softwell.se> (raw)
> From: "James A. Robinson" <jim.robinson@stanford.edu>
> I wanted to expand the elements of the arrays to one per line.
> ,x/{\n([^}]+\n)+ }/x/, +[^\n]/x/ +/c/\n /
This might be totally wrong, but I assume that since you have 'hard coded'
the 2 #\tab in the final c// expression I am allowed the same kind of
works-for-this-problem solution :-).
Presumable there is a way to get hold of the amount of #\tab and then use t to
copy it to the right place...
Anyway, my suggestion would be:
,x/ +".+\n/ x/ +/ c/\n /
Best Wishes, Bengt
===============================================================
Everything aforementioned should be regarded as totally private
opinions, and nothing else. bengt@softwell.se
``His great strength is that he is uncompromising. It would make
him physically ill to think of programming in C++.''
next reply other threads:[~2000-03-23 21:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-23 9:51 Bengt Kleberg [this message]
[not found] <rsc@plan9.bell-labs.com>
[not found] ` <200003230026.TAA06530@smtp3.fas.harvard.edu>
2000-03-23 15:19 ` James A. Robinson
-- strict thread matches above, loose matches on Subject: below --
2000-03-23 0:05 Byron Rakitzis
2000-03-18 5:24 James A. Robinson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200003230949.KAA19813@trillian.softwell.se \
--to=bengt@softwell.se \
--cc=sam-fans@hawkwind.utcs.toronto.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).