[wpkg-users] Conditional depends?

Anthony Walters anthony.walters at dkit.ie
Mon Jan 14 11:00:29 CET 2019


On 11/01/2019 15:31, Anthony Walters wrote:
> 
> os="\s+[789]{1}\.\d{1}\.\d{4}"
> 

If you want to be doubly sure, you can match on "Anything except 1 
instead of matching for a space"

[^1]  this match not the digit one. Or match anything except 1.

e.g.

os="[^1][789]{1}\.\d{1}\.\d{4}"


-- 
Anthony Walters
Technical Officer
Dundalk Institute of Technology

Ext: 2151
Tel: 042 9370200


More information about the wpkg-users mailing list