Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263836 - freebsd' C library regexp does not like regexp extensions used in app-editors/nano
Summary: freebsd' C library regexp does not like regexp extensions used in app-editors...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All FreeBSD
: High minor (vote)
Assignee: SpanKY
Depends on:
Reported: 2009-03-26 07:27 UTC by Dmitri Bogomolov
Modified: 2009-08-18 06:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

emerge --info (info,3.29 KB, text/plain)
2009-03-30 05:50 UTC, Dmitri Bogomolov
the diffs for /usr/share/nano/(sh|gentoo).nanorc (fbsd_nanorc.patch,1.79 KB, patch)
2009-03-30 07:44 UTC, Dmitri Bogomolov
Details | Diff

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

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!