Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518786 - >=app-editors/nano-2.3.3 on Gentoo/FreeBSD - Error in /usr/share/nano/nanorc.nanorc on line 10: Bad regex
Summary: >=app-editors/nano-2.3.3 on Gentoo/FreeBSD - Error in /usr/share/nano/nanorc....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL: https://lists.gnu.org/archive/html/na...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-02 00:35 UTC by Yuta SATOH
Modified: 2015-03-23 07:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2014-08-02 00:35:51 UTC
At run time, Error in /usr/share/nano/nanorc.nanorc on line 10: Bad regex is always displayed on Gentoo/FreeBSD.


Reproducible: Always

Steps to Reproduce:
1. emerge '>=app-editors/nano-2.3.3'
2. nano -w foo
3.


Actual Results:  
# nano -w foo

Error in /usr/share/nano/nanorc.nanorc on line 10: Bad regex "^[[:space:]]*set[[:space:]]+(functioncolor|keycolor||statuscolor|titlecolor)[[:space:]]+(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?[[:>:]]": empty (sub)expression

Press Enter to continue starting nano.




[ebuild   R    ] app-editors/nano-2.3.6  USE="magic ncurses nls spell unicode -debug -justify -minimal -slang" 0 kB
Comment 1 Alex Xu (Hello71) 2014-08-02 00:48:12 UTC
not sure whether to file this against g/alt or nano maintainers.
Comment 2 SpanKY gentoo-dev 2015-02-17 23:55:58 UTC
sent fix upstream.  the || in there is a typo and should just be a |.
Comment 3 SpanKY gentoo-dev 2015-03-23 07:14:24 UTC
nano-2.4.0 includes the fix