philippe_44 wrote: 
> Thanks - I have now to verify that this regex still does what it's
> supposed to do - but according to perl doc, it's fine and it's a change
> in 5.26 (making the escape of { mandatory when used as a litteral)
> 
> > 
Code:
--------------------
  >   > 
  > Quantifiers are used when a particular portion of a pattern needs to match 
a certain number (or numbers) of times. If there isn't a quantifier the number 
of times to match is exactly one. The following standard quantifiers are 
recognized:
  > *           Match 0 or more times
  > +           Match 1 or more times
  > ?           Match 1 or 0 times
  > {n}         Match exactly n times
  > {n,}        Match at least n times
  > {n,m}       Match at least n but not more than m times
  > (If a non-escaped curly bracket occurs in a context other than one of the 
quantifiers listed above, where it does not form part of a backslashed sequence 
like \x{...} , it is either a fatal syntax error, or treated as a regular 
character, generally with a deprecation warning raised. To escape it, you can 
precede it with a backslash ("\{" ) or enclose it within square brackets ("[{]" 
). This change will allow for future syntax extensions (like making the lower 
bound of a quantifier optional), and better error checking of quantifiers).
  > 
--------------------
> > 

Thanks for all your work on this really useful plugin. I really
appreciate it.

So far, as far as I can tell, the plugin is working with the change,
but appreciate that you must check and that was why I didn't just go
ahead and make the change silently.

BR.

--Marius--


------------------------------------------------------------------------
Learnincurve's Profile: http://forums.slimdevices.com/member.php?userid=64807
View this thread: http://forums.slimdevices.com/showthread.php?t=105840

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to