[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #39426] regexp: backreferences with named capt
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #39426] regexp: backreferences with named capture groups (\k) are not supported |
Date: |
Sun, 07 Jul 2013 22:21:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 |
URL:
<http://savannah.gnu.org/bugs/?39426>
Summary: regexp: backreferences with named capture groups
(\k) are not supported
Project: GNU Octave
Submitted by: rik5
Submitted on: Sun 07 Jul 2013 03:21:17 PM PDT
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Because Octave's internal interface substitutes its own names for named
capture groups the \k syntax does not work.
The example below, for finding duplicate characters, should work.
regexp ('abccdeffg', '(?<char1>.)\k<char1>', 'match')
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?39426>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #39426] regexp: backreferences with named capture groups (\k) are not supported,
Rik <=