[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [LOCALE] regulære udtryk



On Tue, Sep 05, 2000 at 01:37:52PM +0200, Byrial Jensen wrote:
> On Sat, Sep 02, 2000 at 15:47:07 +0200, Keld Jørn Simonsen wrote:
> > > > Hvis vi taler om det danske locale, bør
> > > > det regulære udtryk [a-c] - indeholde også
> > > > store bogstaver som B ?  a < b,B < c
> > > > eller skal det kun indeholde  små bogstaver?
> >
> > Iflg POSIX standarden er det localeafhængigt.
> 
> Hvad siger POSIX om hvad [a-c] skal betyde?

 Det er dét, der er store diskussione om.
 Det er vist uspecificeret.

> Hvad skal [a] alene betyde? (Kan det f.eks matche á eller A?)

Kun "a"

> Hvilket locale er disse udtryk afhængige af? (LC_COLLATE, LC_CTYPE
> eller noget andet)

LC_COLLATE og LC_CTYPE

> Kunne man evt. lave sådan at
>  - [a-c] kun medtager små bogstaver
>  - [A-C] kun medtager store bogstaver
>  - [a-C] og [A-c] betyder det samme og medtager både små og store
>    bogstaver

Det kunne man vel godt.

keld


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:52 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *