<?xml version="1.0" standalone="no" ?>

<!DOCTYPE Qbit PUBLIC
"-//aQtive//Qbit Specification V1.2Beta//EN"
"http://www.aQtive.com/dtd/qbit_v1.2Beta.dtd">

<!-- Regular Expression Qbit Template -->
<!-- Author Alan Dix -->
<!-- Copyright aQtive Ltd 1999 -->
<Qbit>


<!-- Recogniser Bits -->
<Recogniser>
<Name>Customer Code Recogniser</Name>
<Recognises>
<Match Type="RegExp">^\s*(C[A-Za-z][0-9]{4,6})\s*$</Match>
</Recognises>
<!-- N.B. Recogniser "Is" should match Service "For" -->
<Is Type="User" Name="Customer Code Type">
<Field Name="code" Expand="Yes">$1</Field>
</Is>
</Recogniser>
<!-- Service Bits -->
<Service>
<Name>Customer Code</Name>
<Icon>user/images/customer.gif</Icon>
<Author>Alan Dix</Author>
<Help>Look up the customer on ACME's Corporate Intranet</Help>
<For Type="User" Name="Customer Code Type">
<URL Expand="Yes" Label="look up customer code" >http://internalserver.acme.com/intranetsearch.cgi?code=$0</URL>
</For>
</Service>
</Qbit>