GNU nano - Bugs: bug #56438, the documentation should say which...
You are not allowed to post comments on this tracker with your current authentication level.
bug #56438: the documentation should say which flavor of regular expression is used
Submitter: | Peter Liscovius <peterdd> | ||
Submitted: | Tue 04 Jun 2019 06:54:26 PM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Discussion locked!
Jump to the original submission
Sat 10 Aug 2019 12:23:58 PM UTC, comment #9: |
Benno Schulenberg <bens> |
Wed 19 Jun 2019 02:06:40 PM UTC, comment #8:
At the moment, yes.
No.
|
Peter Liscovius <peterdd> |
Wed 19 Jun 2019 06:32:57 AM UTC, comment #7: Ping? |
Benno Schulenberg <bens> |
Thu 06 Jun 2019 05:55:11 PM UTC, comment #6: Well, I don't know what kind of ERE nano uses. Nano uses gnulib, and its configure scripts do all kinds of tests, and as far as I can tell, this leads to the regex module from gnulib being used on most GNU/Linux systems and on all BSD systems. If the regex module of gnulib uses POSIX EREs, then nano uses POSIX EREs. If the gnulib module does not get used, then nano uses the regex functions provided by the system's libc (which then probably can do all that the gnulib module can do, so they are probably still POSIX EREs).
|
Benno Schulenberg <bens> |
Thu 06 Jun 2019 02:29:41 PM UTC, comment #5: It is not that easy.
|
Peter Liscovius <peterdd> |
Thu 06 Jun 2019 01:18:52 PM UTC, comment #4: Fixed in git, commit 94163761. Thanks for reporting. |
Benno Schulenberg <bens> |
Thu 06 Jun 2019 11:38:52 AM UTC, comment #3: Did you look in the nanorc man page under the 'color' command? There it says: "Display all pieces of text that match the extended regular expression 'regex'...".
|
Benno Schulenberg <bens> |
Wed 05 Jun 2019 08:39:40 PM UTC, comment #2:
|
Peter Liscovius <peterdd> |
Wed 05 Jun 2019 05:29:13 PM UTC, comment #1: Where in the documentation do you suggest that this be documented?
|
Benno Schulenberg <bens> |
Tue 04 Jun 2019 06:54:26 PM UTC, original submission:
The documentation does not tell anything about what regular expression features or flavor/standard are used.
|
Peter Liscovius <peterdd> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 10 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-08-26 | bens | Open/Closed | Open | Closed | |
2019-08-10 | bens | Status | Need Info | Fixed | |
Discussion Lock | None | Locked | |||
2019-06-19 | peterdd | Attached File | - | Added nano_tabs_and_spaces.png, #47109 | |
2019-06-19 | bens | Status | Fixed | Need Info | |
2019-06-06 | bens | Status | In Progress | Fixed | |
2019-06-06 | bens | Status | None | In Progress | |
2019-06-05 | bens | Severity | 3 - Normal | 2 - Minor | |
Assigned to | None | bens | |||
Summary | document which flavor of regular expression is used by nano | the documentation should say which flavor of regular expression is used |
Powered by Savane 3.13-758e.
Corresponding source code
The documentation now says which flavor of regexes nano uses. So this issue is fixed.
The thing from comment #8 (spaces between words not getting highlighted even though the rule 'color ,yellow " "' should highlight all spaces) is a different issue. Please post it as a new issue. (Which I cannot reproduce, by the way. Please try not including all the *.nanorc files from the Cellar -- reduce your .nanorc to the bare essentials to reproduce the issue.)