Bug 27715 - gawk's regexp work incorrectly with regions inside square brackets
Summary: gawk's regexp work incorrectly with regions inside square brackets
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gawk (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-07 18:16 MSK by Aleksey Cheusov
Modified: 2012-09-23 03:46 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).