octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCRE library requirement


From: Richard Campbell
Subject: Re: PCRE library requirement
Date: Mon, 31 Jan 2011 17:02:28 -0500

On Jan 31, 2011, at 4:54 PM, Rik wrote:

>>>>> str = "a ab abc"
>>>>> results = regexp (str, '\w+', "match")
>>>>> 
>>>>> If that fails because the actual libraries are truly POSIX
>>>> compliant then I
>>>>> think we should make PCRE a requirement. It is widely available and a
>>>>> number of patterns in the code use the very convenient '\s' or '\w'
>>>>> patterns rather than character classes.
>>>> 


octave:1> str = "a ab abc"
str = a ab abc
octave:2> results = regexp (str, '\w+', "match")
results = {}(1x0)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]