
{"id":7179,"date":"2012-05-03T15:56:48","date_gmt":"2012-05-03T15:56:48","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=7179"},"modified":"2012-05-03T15:56:48","modified_gmt":"2012-05-03T15:56:48","slug":"posix-character-classes-in-relation-to-regular-expressions","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2012\/05\/03\/posix-character-classes-in-relation-to-regular-expressions\/","title":{"rendered":"POSIX character classes  in relation to  regular expressions"},"content":{"rendered":"<h4><u>commandline session<\/u><\/h4>\n<pre>\n$ 4.2.20 43 543---&gt; export LANG=en_IN\n$ 4.2.20 44 544---&gt; ls Algorithms\/[A-Z]*\nAlgorithms\/filereading.c  Algorithms\/wordmatch.c\n$ 4.2.20 45 545---&gt; export LANG=POSIX\n$ 4.2.20 46 546---&gt; echo $LANG\nPOSIX\n$ 4.2.20 47 547---&gt; locale\nLANG=POSIX\nLANGUAGE=en_IN:en\nLC_CTYPE=\"POSIX\"\nLC_NUMERIC=\"POSIX\"\nLC_TIME=\"POSIX\"\nLC_COLLATE=\"POSIX\"\nLC_MONETARY=\"POSIX\"\nLC_MESSAGES=\"POSIX\"\nLC_PAPER=\"POSIX\"\nLC_NAME=\"POSIX\"\nLC_ADDRESS=\"POSIX\"\nLC_TELEPHONE=\"POSIX\"\nLC_MEASUREMENT=\"POSIX\"\nLC_IDENTIFICATION=\"POSIX\"\nLC_ALL=\n$ 4.2.20 48 548---&gt; ls Algorithms\/[A-Z]*\nls: cannot access Algorithms\/[A-Z]*: No such file or directory\n$ 4.2.20 49 549---&gt; export LANG=en_IN\n$ 4.2.20 50 550---&gt; ls Algorithms\/[A-Z]*\nAlgorithms\/filereading.c  Algorithms\/wordmatch.c\n$ 4.2.20 51 551---&gt; ls Algorithms\/[[:upper:]]*\nls: cannot access Algorithms\/[[:upper:]]*: No such file or directory\n$ 4.2.20 52 552---&gt; echo $LANG\nen_IN\n$ 4.2.20 53 553---&gt; export LANG=POSIX\n$ 4.2.20 54 554---&gt; echo $LANG\nPOSIX\n$ 4.2.20 55 555---&gt; ls Algorithms\/[[:upper:]]*\nls: cannot access Algorithms\/[[:upper:]]*: No such file or directory\n$ 4.2.20 56 556---&gt; export LANG=en_IN\n$ 4.2.20 57 557---&gt; ls Algorithms\/[[:upper:]]*\nls: cannot access Algorithms\/[[:upper:]]*: No such file or directory\n$ 4.2.20 58 558---&gt; export LANG=en_IN\n$ 4.2.20 59 559---&gt; ls Algorithms\/[A]*\nls: cannot access Algorithms\/[A]*: No such file or directory\n$ 4.2.20 60 560---&gt; ls Algorithms\/[A-Z]*\nAlgorithms\/filereading.c  Algorithms\/wordmatch.c\n$ 4.2.20 61 561---&gt; export LANG=POSIX\n$ 4.2.20 62 562---&gt; ls Algorithms\/[A-Z]*\nls: cannot access Algorithms\/[A-Z]*: No such file or directory\n$ 4.2.20 63 563---&gt; echo $LANG\nPOSIX\n$ 4.2.20 64 564---&gt; ls Algorithms\/[[:lower:]]*\nAlgorithms\/algorithm.c\tAlgorithms\/filereading.c  Algorithms\/wordmatch.c\n$ 4.2.20 100 5100---&gt;\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>commandline session $ 4.2.20 43 543&#8212;&gt; export LANG=en_IN $ 4.2.20 44 544&#8212;&gt; ls Algorithms\/[A-Z]* Algorithms\/filereading.c Algorithms\/wordmatch.c $ 4.2.20 45 545&#8212;&gt; export LANG=POSIX $ 4.2.20 46 546&#8212;&gt; echo $LANG POSIX $ 4.2.20 47 547&#8212;&gt; locale LANG=POSIX LANGUAGE=en_IN:en LC_CTYPE=&#8221;POSIX&#8221; LC_NUMERIC=&#8221;POSIX&#8221; LC_TIME=&#8221;POSIX&#8221; LC_COLLATE=&#8221;POSIX&#8221; LC_MONETARY=&#8221;POSIX&#8221; LC_MESSAGES=&#8221;POSIX&#8221; LC_PAPER=&#8221;POSIX&#8221; LC_NAME=&#8221;POSIX&#8221; LC_ADDRESS=&#8221;POSIX&#8221; LC_TELEPHONE=&#8221;POSIX&#8221; LC_MEASUREMENT=&#8221;POSIX&#8221; LC_IDENTIFICATION=&#8221;POSIX&#8221; LC_ALL= $ 4.2.20 48 548&#8212;&gt; ls Algorithms\/[A-Z]* &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2012\/05\/03\/posix-character-classes-in-relation-to-regular-expressions\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;POSIX character classes  in relation to  regular expressions&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7179"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=7179"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/7179\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=7179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=7179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=7179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}