From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <7af898f1cca6bb4312c1af962bde6cba@swtch.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] "Intervalic From: "Russ Cox" Date: Wed, 22 Feb 2006 13:51:57 -0500 In-Reply-To: <43fcae95.pR9y1wmnRB5q51Z/%yard-ape@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 046d721a-ead1-11e9-9d60-3106f5b1d025 > Am I misunderstanding the REP operators? If not, how do you folks > like to handle such problems as one might use intervalic expressions on? > Do you just use an explicit regular expression? If so, I'm curious > about the reasoning behind the design decision to leave intervalic > expressions out. They're a recent addition to the regular expression world and no one has cared enough to add them. If you're using awk and want the first 24 characters, I'd use substr. Russ