Reply To: Wildcards on TRXID ADT_A(?!17)

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Wildcards on TRXID ADT_A(?!17) Reply To: Wildcards on TRXID ADT_A(?!17)

#56149
Dennis Pfeifer
Participant

    IMHO, I don’t think that the performance would be significantly different, and it would be difficult to measure.

    e.g. with Charlie’s regexp, an A28 may parse more quickly than the expanded form, but if you don’t receive many A28’s it’s not of much value.

    I prefer the expanded form, simply for readability.  At a glance, I can see if an A17 is handled by this route…. With Charlie’s I must interpret the entire regexp to ensure that it’s not being used. (Not that it’s difficult to interpret, but .. my goal is usually to determine the Xlate that I need to review, not an exercise in regexp interpretation.)

    In the end .. either is fine and will get the job done … it’s a matter of personal preference.

    Ultimately, I prefer the first regexp which was intended to route everything but an A17 .. but that did not work in the engine’s regexp..

    Dennis