IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  pattern matching

    Posted 09/11/01 10:18 AM

    Hi,

    Is it possible to do a query on e.g. e-mail addresses where there is an ‘m’ between the ‘@’ and the ‘.com’? I tried to use this as filter: [email~=‘*@m.com’] but Tamino doesn’t accept that (INOXIE8374: invalid match pattern).

    Or do I need to use regular expressions? In that case: please give an example.

    thanks,
    Pieter.


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: pattern matching

    Posted 09/11/01 01:22 PM

    Pieter,

    I don’t think XQUERY can satisfy this completely. So, wouldn’t it be better to split the email details up as follows…



    You can then do a filter of

    [EMAILNAME ~= “m” and EMAILORG ~=“*.com”]

    completely satisfying the request.

    The @ can be inserted as neccessary by processing outside of XQUERY.


    #API-Management
    #webMethods
    #Tamino


  • 3.  RE: pattern matching

    Posted 09/11/01 02:08 PM

    rpn,

    Maybe I confused you a bit with this sample query. I understand that you can split up an e-mail address so you can search on the different parts.
    My question is more like: can you do a pattern search on whatever node value you want without having to split these nodes up? Just like you can do a search in Windows on a file that fulfills this criterion:
    x?l*.*
    Meaning: all files which start with an ‘x’, then one character of choice, an ‘l’, zero or more characters, a ‘.’ and zero or more characters.

    But, as you said XQuery probably can’t.

    thanks anyway,
    Pieter


    #webMethods
    #API-Management
    #Tamino