Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: [RFC] Building Regex Alternations Dynamically

by haukex (Archbishop)
on May 14, 2017 at 11:56 UTC ( [id://1190259]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ mkdir -v /tmp/localetest; cd /tmp/localetest
    # copy "en_US" and the files it refers to via its "copy" statements
    $ cp -v /usr/share/i18n/locales/{en_US,en_GB,i18n,iso14651_t1,iso14651
    +_t1_common} .
    $ mv -v en_US en_TESTING
    
  2. or download this
    collating-element <bc> from "<U0062><U0063>"
    script <TESTING>
    order_start <TESTING>;forward;forward;forward;forward,position
    <bc> "<a><c>";"<BAS><BAS>";"<MIN><MIN>";IGNORE
    order_end
    
  3. or download this
    $ localedef -i en_TESTING -f UTF-8 -c ./en_TESTING.UTF-8
    $ LOCPATH=/tmp/localetest LC_ALL=en_TESTING.UTF-8 perl -Mlocale -le 'p
    +rint for sort qw/ab a b bc/'
    ...
    2 bc
    2 b
    2 bc
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1190259]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 00:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found