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
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.
Created attachment 186714 [details] emerge --info
you can try changing the forms: (|....) to: (....)? and see if that works
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
pushed patch upstream
(In reply to comment #5) > pushed patch upstream > Thank you!