[cl-ppcre-devel] report a bug

Xiangjun Wu netawater at gmail.com
Fri Jun 26 14:46:38 UTC 2009


Very sorry, it is a typo, :(

It should be:

(cl-ppcre:scan
              (cl-ppcre:create-scanner
                 "(_\\w+)*\\@\\w+") "______________________________________"
                          :start 0)

but other examples indicate the accurate idea.

On 6/26/09, Hans Hübner <hans.huebner at gmail.com> wrote:
> On Fri, Jun 26, 2009 at 15:10, Leslie P. Polzer<sky at viridian-project.de>
> wrote:
>
>> On Jun 25, 9:21 pm, Edi Weitz <e... at agharta.de> wrote:
>>
>>> The question is - what do you want to achieve with this regular
>>> expression?  Can't you write it in a simpler way?
>>
>> Isn't this pattern pretty useful in general:
>>
>> A at B
>>
>> where A and B are word characters and @ is a specific non-word
>> character?
>
> Sure, but the original bug report was about this:
>
> (\\w+)*\\@\\w+
>
> I can't make any sense of this regular expression, but maybe it is
> because I am lacking some skills.  Maybe Wu can explain what he wants
> to achive with it?
>
> -Hans
>
> _______________________________________________
> cl-ppcre-devel site list
> cl-ppcre-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/cl-ppcre-devel
>


-- 
片云天共远永夜月同孤




More information about the Cl-ppcre-devel mailing list