Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.unix.shell > #4911
| From | Ivan Shmakov <oneingray@gmail.com> |
|---|---|
| Newsgroups | comp.text, comp.unix.shell |
| Subject | Re: character classes & regular expressions |
| Date | 2012-05-05 10:00 +0700 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <86havv2uxi.fsf@gray.siamics.net> (permalink) |
| References | (2 earlier) <20120503211141.506@kylheku.com> <86r4uz3kzo.fsf@gray.siamics.net> <20120504103639.939@kylheku.com> <86mx5n2w3m.fsf_-_@gray.siamics.net> <20120504193314.15@kylheku.com> |
Cross-posted to 2 groups.
>>>>> Kaz Kylheku <kaz@kylheku.com> writes: >>>>> On 2012-05-05, Ivan Shmakov <oneingray@gmail.com> wrote: >>>>> Kaz Kylheku <kaz@kylheku.com> writes: >>>>> On 2012-05-04, Ivan Shmakov <oneingray@gmail.com> wrote: > ["Followup-To:" header set to comp.unix.shell.] Fow what reason, I wonder? The issue being discussed has little relation to the Unix Shells per se. (And indeed, you provide an example in GNU flex in your own post.) [...] >>>> How do you specify a "single character, either an upper-case >>>> letter or a digit" within such a regular expression, then? >>> [A-Z0-9] >>> [A-Z\d] >> It happens that the native languages of the most people of the >> world either use extensions to the Latin script (beyond those in >> ASCII, such as J or W), or use a script not derived from Latin >> at all. (Greek-based scripts are not uncommon, for instance; >> FWIW, the Latin script is based on the Greek one itself.) >> Good luck selling your product to anyone speaking French, Greek, >> Polish or Russian. > Sorry, you're mistaken. In Russia, France, Poland, Japan, you name > it, coders still want [A-Z] to actually denote A-Z. Yes. Still, they want for a way to denote a "single character, either an upper-case letter or a digit", which is precisely what [[:upper:][:digit:]] is for (and which is the notation that, IIUC, you were opposed to.) [...] -- FSF associate member #7257
Back to comp.unix.shell | Previous | Next — Previous in thread | Next in thread | Find similar
grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 01:25 +0000
Re: grep is screwed on Debian, Ubuntu and others ... Lew Pitcher <lpitcher@teksavvy.com> - 2012-05-03 22:05 -0400
Re: grep is screwed on Debian, Ubuntu and others ... Ed Morton <mortonspam@gmail.com> - 2012-05-03 21:32 -0500
Re: grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 04:51 +0000
Re: grep is screwed on Debian, Ubuntu and others ... Janis Papanagnou <janis_papanagnou@hotmail.com> - 2012-05-04 07:37 +0200
Re: grep is screwed on Debian, Ubuntu and others ... Ed Morton <mortonspam@gmail.com> - 2012-05-04 08:33 -0500
Re: grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 04:44 +0000
Re: grep is screwed on Debian, Ubuntu and others ... Ed Morton <mortonspam@gmail.com> - 2012-05-04 08:47 -0500
Re: grep is screwed on Debian, Ubuntu and others ... Ivan Shmakov <oneingray@gmail.com> - 2012-05-05 00:38 +0700
Re: grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 17:45 +0000
Re: grep is screwed on Debian, Ubuntu and others ... "Ed Morton" <mortonspam@gmail.com> - 2012-05-04 21:20 +0000
character classes & regular expressions Ivan Shmakov <oneingray@gmail.com> - 2012-05-05 09:35 +0700
Re: character classes & regular expressions Kaz Kylheku <kaz@kylheku.com> - 2012-05-05 02:42 +0000
Re: character classes & regular expressions Ivan Shmakov <oneingray@gmail.com> - 2012-05-05 10:00 +0700
Re: character classes & regular expressions Cydrome Leader <presence@MUNGEpanix.com> - 2012-05-06 02:31 +0000
Re: character classes & regular expressions Ivan Shmakov <oneingray@gmail.com> - 2012-05-06 12:15 +0700
Re: character classes & regular expressions Cydrome Leader <presence@MUNGEpanix.com> - 2012-05-06 07:47 +0000
copyright in Russia Ivan Shmakov <oneingray@gmail.com> - 2012-05-10 19:28 +0700
Re: grep is screwed on Debian, Ubuntu and others ... Lew Pitcher <lpitcher@teksavvy.com> - 2012-05-04 14:31 -0400
Re: grep is screwed on Debian, Ubuntu and others ... Richard Kettlewell <rjk@greenend.org.uk> - 2012-05-04 09:12 +0100
Re: grep is screwed on Debian, Ubuntu and others ... James Waldby <not@valid.invalid> - 2012-05-05 18:25 +0000
Re: grep is screwed on Debian, Ubuntu and others ... Wolfram Gloger <wmglo@dent.med.uni-muenchen.de> - 2012-05-04 12:56 +0200
Re: grep is screwed on Debian, Ubuntu and others ... Kaz Kylheku <kaz@kylheku.com> - 2012-05-04 17:47 +0000
csiph-web