Hi all,

I would like to know how is it possible to escape round brackets in xCat 
tables when using regex?

For example, in the switch table we tried escaping the relevant brackets:
"compute","switch01","|node(\d+)|ifc($1+0) \(Slot: 1 Port: ($1+0)\)|",,,,
But it results in:  "ifc1 \(Slot: 1 Port: ($1+0)\)"

And we wanted it to become: "ifc1 (Slot: 1 Port: 1)"


Thanks in advance,
Nuriel Shem-Tov
ClusterVision BV

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to