<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 -->
<conceptSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://incubator.apache.org/uima/regex">
	
	<variables>
		<variable name="days" value="(Monday|Tuesday)"/>
		<variable name="month1" value="January"/>
		<variable name="Last_Day" value="Sunday"/>
		<variable name="escaping" value="Jan\."/>
		<variable name="endSeparator" value="end($|\.)"/>
		
	</variables>
	
    <concept name="Variables1">
    	<rules>
			<rule regEx="\v{days} simple regex with variables \v{days}" matchStrategy="matchAll" matchType="uima.tcas.DocumentAnnotation"/>
	    </rules>
	    <createAnnotations>	
			<annotation type="org.apache.uima.TestAnnot">
				<begin group="0"/>
				<end group="0"/>
		 	</annotation>
	 	</createAnnotations>
    </concept>

    <concept name="Variables2">
    	<rules>
			<rule regEx="\v{days} \v{month1} \v{Last_Day} test \{days\}" matchStrategy="matchAll" matchType="uima.tcas.DocumentAnnotation"/>
	    </rules>
	    <createAnnotations>	
			<annotation id="testannot1" type="org.apache.uima.TestAnnot">
				<begin group="0"/>
				<end group="0"/>
		 	</annotation>
	 	</createAnnotations>
    </concept>

    <concept name="Variables3">
    	<rules>
			<rule regEx="\v{escaping}" matchStrategy="matchAll" matchType="uima.tcas.DocumentAnnotation"/>
	    </rules>
	    <createAnnotations>	
			<annotation id="testannot1" type="org.apache.uima.TestAnnot">
				<begin group="0"/>
				<end group="0"/>
		 	</annotation>
	 	</createAnnotations>
    </concept>

    <concept name="Variables4">
    	<rules>
			<rule regEx="this is the \v{endSeparator} my only friend, the \v{endSeparator}" matchStrategy="matchAll" matchType="uima.tcas.DocumentAnnotation"/>
	    </rules>
	    <createAnnotations>	
			<annotation id="testannot1" type="org.apache.uima.TestAnnot">
				<begin group="0"/>
				<end group="0"/>
		 	</annotation>
	 	</createAnnotations>
    </concept>

</conceptSet>
