diff --git a/examples/ClientTests/scripts/BoxOfStraws.py b/examples/ClientTests/scripts/BoxOfStraws.py
index f4f5d4a675b127395fb096718374075400701cdb..00cc33d03134066bf7ecca745c02dac6571111a2 100644
--- a/examples/ClientTests/scripts/BoxOfStraws.py
+++ b/examples/ClientTests/scripts/BoxOfStraws.py
@@ -73,7 +73,7 @@ def run():
     seq, act = geant4.addDetectorConstruction('Geant4RegexSensitivesConstruction/ConstructSDRegEx')
     act.Detector = 'BoxOfStrawsDet'
     act.OutputLevel = Output.ALWAYS
-    act.Match = ['/world_volume_(.*)/BoxOfStrawsDet_(.*)/layer_(.*)/straw_(.*)/gas_(.*)']
+    act.Match = ['gas_']
   #
   seq, act = geant4.addDetectorConstruction('Geant4DetectorConstructionResources/ResourcesAfterConstruction')
   act.When = "sensitives"