[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49451] matching beginning/end of a word does
From: |
Francesco Potortì |
Subject: |
[Octave-bug-tracker] [bug #49451] matching beginning/end of a word does not work |
Date: |
Thu, 27 Oct 2016 01:43:03 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:41.0) Gecko/20100101 Firefox/41.0 |
URL:
<http://savannah.gnu.org/bugs/?49451>
Summary: matching beginning/end of a word does not work
Project: GNU Octave
Submitted by: pot
Submitted on: Thu 27 Oct 2016 03:43:01 AM CEST
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.3
Operating System: GNU/Linux
_______________________________________________________
Details:
The following two expressions should give the same result, but they don't: the
second is incorrect
> regexprep("_ aaaa _", "\\w{4}", "b")
ans = _ b _
> regexprep("_ aaaa _", "\\<\\w{4}", "b")
ans = _ aaaa _
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49451>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49451] matching beginning/end of a word does not work,
Francesco Potortì <=