9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ... --- ...
@ 2007-02-05 10:03 cej
  2007-02-05 10:20 ` Bruce Ellis
  0 siblings, 1 reply; 2+ messages in thread
From: cej @ 2007-02-05 10:03 UTC (permalink / raw)
  To: 9fans


hi all,
my problem is to read-in the data in the form(regex):
[0-9]+'-'[0-9]+[acr]
e.g., : 0-2a 3-4c 6-8r
to obtain:
a a a c c [blank] r r r

Is this better to be solved by 'lex', or directly in C?? Could someone, please, hint???

Big 'Thank You',

Peter.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-05 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-05 10:03 [9fans] ... --- cej
2007-02-05 10:20 ` Bruce Ellis

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).