[MacPorts] #53938: nano@2.8.0_0: regular expressions in the syntax files

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #53938: nano@2.8.0_0: regular expressions in the syntax files

MacPorts
#53938: nano@2.8.0_0: regular expressions in the syntax files
-----------------------+-------------------
 Reporter:  blgantner  |      Owner:
     Type:  defect     |     Status:  new
 Priority:  Low        |  Milestone:
Component:  ports      |    Version:  2.4.1
 Keywords:             |       Port:  nano
-----------------------+-------------------
 It appears with the upgrade of 2.7.X to 2.8 of nano, the regular
 expressions evaluation of the syntax files was changed away from gnu style
 (word boundaries of \< and \>).  Both the previous working syntax files
 (from 2.7) and the newly installed syntax files for 2.8 list multiple
 errors during nano start.  (There are about 50, all consistent, only one
 provided for example).

 {{{Error in /opt/local/share/nano/sh.nanorc on line 13: Bad regex
 "-[Ldefgruwx][[:>:]]": Invalid character class name}}}

 Changing the \< and \> instances to \b fixes the issue.  Easy solution of
 quick change of the syntax files included with 2.8 installation or
 recompiling 2.8 to recognize gnu format.

--
Ticket URL: <https://trac.macports.org/ticket/53938>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53938: nano@2.8.0_0: regular expressions in the syntax files

MacPorts
#53938: nano@2.8.0_0: regular expressions in the syntax files
------------------------+------------------------
  Reporter:  blgantner  |      Owner:  grimreaper
      Type:  defect     |     Status:  assigned
  Priority:  Low        |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:
      Port:  nano       |
------------------------+------------------------
Changes (by mf2k):

 * cc: lists@… (removed)
 * owner:   => grimreaper
 * status:  new => assigned


--
Ticket URL: <https://trac.macports.org/ticket/53938#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53938: nano@2.8.0_0: regular expressions in the syntax files

MacPorts
In reply to this post by MacPorts
#53938: nano@2.8.0_0: regular expressions in the syntax files
------------------------+------------------------
  Reporter:  blgantner  |      Owner:  grimreaper
      Type:  defect     |     Status:  closed
  Priority:  Low        |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:  fixed      |   Keywords:
      Port:  nano       |
------------------------+------------------------
Changes (by Schamschula):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"a3fe18167fa0087a4fcb2ab7a8aed7a26446abdf/macports-ports"
 a3fe18167fa0087a4fcb2ab7a8aed7a26446abdf/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="a3fe18167fa0087a4fcb2ab7a8aed7a26446abdf"
 nano: fix regular expressions in the syntax files

 Closes: https://trac.macports.org/ticket/53938
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53938#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53938: nano@2.8.0_0: regular expressions in the syntax files

MacPorts
In reply to this post by MacPorts
#53938: nano@2.8.0_0: regular expressions in the syntax files
------------------------+------------------------
  Reporter:  blgantner  |      Owner:  grimreaper
      Type:  defect     |     Status:  closed
  Priority:  Low        |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:  fixed      |   Keywords:
      Port:  nano       |
------------------------+------------------------

Comment (by someuser12):

 This bug has been reported and fixed upstream:
 https://savannah.gnu.org/bugs/index.php?50705 but no new version of nano
 has been published yet.

 The corrected version of nano would allow one to keep using one's own
 syntax files without regular expression fix (the changeset
 https://trac.macports.org/changeset/a3fe18167fa0087a4fcb2ab7a8aed7a26446abdf
 /macports-ports only fixes syntax files provided as samples).

--
Ticket URL: <https://trac.macports.org/ticket/53938#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53938: nano@2.8.0_0: regular expressions in the syntax files

MacPorts
In reply to this post by MacPorts
#53938: nano@2.8.0_0: regular expressions in the syntax files
------------------------+------------------------
  Reporter:  blgantner  |      Owner:  grimreaper
      Type:  defect     |     Status:  closed
  Priority:  Low        |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:  fixed      |   Keywords:
      Port:  nano       |
------------------------+------------------------

Comment (by someuser12):

 Replying to [comment:3 someuser12]:
 > This bug has been reported and fixed upstream:
 https://savannah.gnu.org/bugs/index.php?50705 but no new version of nano
 has been published yet.

 Release 2.8.1 of nano includes the fix.

--
Ticket URL: <https://trac.macports.org/ticket/53938#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...