Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D420F457 for ; Tue, 13 Aug 2013 09:35:46 +0000 (UTC) Received: (qmail 39326 invoked by uid 500); 13 Aug 2013 09:35:45 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 38934 invoked by uid 500); 13 Aug 2013 09:35:37 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 38918 invoked by uid 99); 13 Aug 2013 09:35:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Aug 2013 09:35:33 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcaug-uima-user@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Aug 2013 09:35:26 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V9B0J-000214-3r for user@uima.apache.org; Tue, 13 Aug 2013 11:35:03 +0200 Received: from proxy-220-255-1-33.singnet.com.sg ([220.255.1.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Aug 2013 11:35:03 +0200 Received: from aldrian_math by proxy-220-255-1-33.singnet.com.sg with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 13 Aug 2013 11:35:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@uima.apache.org From: Aldrian Obaja Subject: Regex Variable inside Regex Variable? Date: Tue, 13 Aug 2013 09:33:11 +0000 (UTC) Lines: 8 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 220.255.1.33 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1) X-Virus-Checked: Checked by ClamAV on apache.org I'm working on UIMA Regex Annotator, and I'm wondering whether it is possible to use a Regex Variable inside another Regex Variable. This is useful when we want to make long composite regex. Say the first regex variable is "org_token" which matches any token that is possible as a part of an organization name. Then we also want to let "org_name" variable to include the variable "org_token" in its description (like \v{org_token}).