GNU nano - Bugs: bug #45630, anchor \< isn't properly...
You are not allowed to post comments on this tracker with your current authentication level.
bug #45630: anchor \< isn't properly matched, but \> is
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 26 Jul 2015 08:18:04 AM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Fri 06 Jan 2017 12:39:35 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Tue 27 Oct 2015 04:45:15 PM UTC, comment #1: Well, hardly anyone will ever search for a bare anchor; if they use an anchor, it will be with one or more characters; and they will most likely not go searching for this string when it actually is just one position ahead. So finding the anchored search string at a place that is not the start of a word is very, very unlikely.
|
Benno Schulenberg <bens> |
Sun 26 Jul 2015 08:18:04 AM UTC, original submission:
Doing a regex search for \< will match each alphnumeric character in a document. It will skip over whitespace and other characters, but will find each individual letter and digit, instead of just the first one in each sequence. On the other hand, \> will correctly match only the end of each alphanumeric sequence.
|
Benno Schulenberg <bens> |
No files currently attached
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 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-01-11 | bens | Open/Closed | Open | Closed | |
2017-01-06 | bens | Status | In Progress | Fixed | |
2017-01-04 | bens | Status | None | In Progress | |
Assigned to | None | bens | |||
2015-10-29 | bens | Assigned to | bens | None | |
Summary | anchor \\< isn\'t properly matched, but \\> is | anchor \< isn't properly matched, but \> is | |||
2015-10-27 | bens | Severity | 3 - Normal | 2 - Minor | |
Summary | anchor \\< isn\'t properly matched, but \\> is | anchor \< isn't properly matched, but \> is |
Powered by Savane 3.13-758e.
Corresponding source code
Fixed in git, cbf7e57e.