bugGNU nano - Bugs: bug #50008, the anchors \< and \> do not...

 
 

bug #50008: the anchors \< and \> do not work in the tiny version

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Mon 09 Jan 2017 01:14:37 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 09 Jan 2017 01:35:00 PM UTC, comment #1:

Fixed in git, 14c62dbf.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Mon 09 Jan 2017 01:14:37 PM UTC, original submission:

To reproduce, configure nano with --enable-tiny, compile, and run 'src/nano NEWS'. Then type: ^W M-R \< <Enter>. Result:

[ Bad regex "\<": Invalid character class name ]

This is because the configure stage has /not/ checked for the support of GNU-style wordbounds and thus translates \< to [[:<:]], which does not work on my machine.

In former times, regexes were simply not available in the tiny version, so they only needed to be included when color syntaxed were (re)enabled. But nowadays the tiny version /can/ search for regexes, so the check for GNU-style wordbounds should always be done.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Jan 2017 10:56:01 AM UTCbensOpen/ClosedOpen=>Closed
    Mon 09 Jan 2017 01:35:00 PM UTCbensStatusIn Progress=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1