regexp in hal comparisons ...

Dieter Jurzitza dieter.jurzitza at t-online.de
Thu Jan 8 12:08:48 PST 2009


Dear listmembers,
from what I've seen so far I know that hal can parse the xml files and can do 
comparisons.
Question: is it be possible to do a match containing regular expressions, 
i. e. (in my case)

<match key="@info.parent:scsi.model" string"C[0-9][0-9]70A">
 <append key ....
</match>

Thank you very much,
take care




Dieter Jurzitza

-- 
-----------------------------------------------------------

                               |
                                \
                 /\_/\           |
                | ~x~ |/-----\   /
                 \   /-       \_/
  ^^__   _        /  _  ____   /
 <°°__ \- \_/     |  |/    |  |
  ||  ||         _| _|    _| _|

if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------


More information about the hal mailing list