File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / pcre / testdata / testoutput3
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Sun Jun 15 19:46:06 2014 UTC (10 years, 6 months ago) by misho
Branches: pcre, MAIN
CVS tags: v8_34, HEAD
pcre 8.34

/-- This set of tests checks local-specific features, using the fr_FR locale. 
    It is not Perl-compatible. There is different version called wintestinput3
  f  or use on Windows, where the locale is called "french". --/
  
< forbid 8W 

/^[\w]+/
    *** Failers
No match
    École
No match

/^[\w]+/Lfr_FR
    École
 0: École

/^[\w]+/
    *** Failers
No match
    École
No match

/^[\W]+/
    École
 0: \xc9

/^[\W]+/Lfr_FR
    *** Failers
 0: *** 
    École
No match

/[\b]/
    \b
 0: \x08
    *** Failers
No match
    a
No match

/[\b]/Lfr_FR
    \b
 0: \x08
    *** Failers
No match
    a
No match

/^\w+/
    *** Failers
No match
    École
No match

/^\w+/Lfr_FR
    École
 0: École

/(.+)\b(.+)/
    École
 0: \xc9cole
 1: \xc9
 2: cole

/(.+)\b(.+)/Lfr_FR
    *** Failers
 0: *** Failers
 1: *** 
 2: Failers
    École
No match

/École/i
    École
 0: \xc9cole
    *** Failers
No match
    école
No match

/École/iLfr_FR
    École
 0: École
    école
 0: école

/\w/IS
Capturing subpattern count = 0
No options
No first char
No need char
Subject length lower bound = 1
Starting byte set: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P 
  Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z 

/\w/ISLfr_FR
Capturing subpattern count = 0
No options
No first char
No need char
Subject length lower bound = 1
Starting byte set: 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P 
  Q R S T U V W X Y Z _ a b c d e f g h i j k l m n o p q r s t u v w x y z 
  ª µ º À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß à á â 
  ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ 

/^[\xc8-\xc9]/iLfr_FR
    École
 0: É
    école
 0: é

/^[\xc8-\xc9]/Lfr_FR
    École
 0: É
    *** Failers 
No match
    école
No match

/\W+/Lfr_FR
    >>>\xaa<<<
 0: >>>
    >>>\xba<<< 
 0: >>>

/[\W]+/Lfr_FR
    >>>\xaa<<<
 0: >>>
    >>>\xba<<< 
 0: >>>

/[^[:alpha:]]+/Lfr_FR
    >>>\xaa<<<
 0: >>>
    >>>\xba<<< 
 0: >>>

/\w+/Lfr_FR
    >>>\xaa<<<
 0: ª
    >>>\xba<<< 
 0: º

/[\w]+/Lfr_FR
    >>>\xaa<<<
 0: ª
    >>>\xba<<< 
 0: º

/[[:alpha:]]+/Lfr_FR
    >>>\xaa<<<
 0: ª
    >>>\xba<<< 
 0: º
    
/[[:alpha:]][[:lower:]][[:upper:]]/DZLfr_FR 
------------------------------------------------------------------
        Bra
        [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
        [a-z\xb5\xdf-\xf6\xf8-\xff]
        [A-Z\xc0-\xd6\xd8-\xde]
        Ket
        End
------------------------------------------------------------------
Capturing subpattern count = 0
No options
No first char
No need char

/-- End of testinput3 --/

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>