Bug 27715

Summary: gawk's regexp work incorrectly with regions inside square brackets
Product: Sisyphus Reporter: Aleksey Cheusov <vle>
Component: gawkAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: glebfm, ldv, placeholder, real.altlinux.org
Version: unstable   
Hardware: all   
OS: Linux   

Description Aleksey Cheusov 2012-09-07 18:16:56 MSK
Output of the following commands should be 1, not 0.
gawk-4.0.1 works fine.

   $ printf '\x80' | LC_ALL=C gawk '/[\200-\377]/' | wc -l
   0
   $ printf '\x80' | LC_ALL=C gawk '/[\x80-\xFF]/' | wc -l
   0
   $
Comment 1 Repository Robot 2012-09-23 03:46:00 MSK
gawk-4.0.1-alt1 -> sisyphus:

* Sun Sep 23 2012 Dmitry V. Levin <ldv@altlinux> 4.0.1-alt1
- Updated to gawk-4.0.1-39-g439d946 (closes: #27715).