Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263836

Summary: freebsd' C library regexp does not like regexp extensions used in app-editors/nano
Product: Gentoo Linux Reporter: Dmitri Bogomolov <4glitch>
Component: New packagesAssignee: SpanKY <vapier>
Status: RESOLVED UPSTREAM    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
URL: https://savannah.gnu.org/bugs/?27175
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
the diffs for /usr/share/nano/(sh|gentoo).nanorc

Description Dmitri Bogomolov 2009-03-26 07:27:09 UTC
nano warns about bad regexp in gentoo.nanorc and sh.nanorc before start.

Reproducible: Always

Steps to Reproduce:
1. nano

Actual Results:  
Error in /usr/share/nano/sh.nanorc on line 4: Bad regex "^#!.*/(ba|k|pdk|)sh[-0-9_]*": empty (sub)expression

Error in /usr/share/nano/gentoo.nanorc on line 23: Bad regex "[[:<:]](do|new)(ins|(games)?s?bin|doc|lib(|\.so|\.a)|man|info|exe|initd|confd|envd|pam|menu|icon)[[:>:]]": empty (sub)expression

Error in /usr/share/nano/gentoo.nanorc on line 25: Bad regex "prepall(|docs|info|man|strip)": empty (sub)expression

Error in /usr/share/nano/gentoo.nanorc on line 26: Bad regex "[[:<:]](|doc|ins|exe)into[[:>:]]": empty (sub)expression

Press Enter to continue starting nano.

Expected Results:  
no warnings
Comment 1 SpanKY gentoo-dev 2009-03-26 23:54:01 UTC
no real information on your system like the bug reporting documentation said to provide.  this works fine on every system i use and ive never heard any one else complain.
Comment 2 Dmitri Bogomolov 2009-03-30 05:50:02 UTC
Created attachment 186714 [details]
emerge --info
Comment 3 SpanKY gentoo-dev 2009-03-30 06:54:36 UTC
you can try changing the forms:
(|....)
to:
(....)?

and see if that works
Comment 4 Dmitri Bogomolov 2009-03-30 07:44:52 UTC
Created attachment 186721 [details, diff]
the diffs for /usr/share/nano/(sh|gentoo).nanorc

yes, warnings disappeared, check out that i did in right way
Comment 5 SpanKY gentoo-dev 2009-08-18 00:36:54 UTC
pushed patch upstream
Comment 6 Dmitri Bogomolov 2009-08-18 06:09:24 UTC
(In reply to comment #5)
> pushed patch upstream
> 

Thank you!