<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium. 
Licensed under the GNU General Public License. 
See the file COPYING.txt for details
$Date: 2008-11-01 12:54:12 +0000 (Sat, 01 Nov 2008) $
$Id: data.pattern.xml 4899 2008-11-01 12:54:12Z rahtz $
-->
<macroSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" module="tei" type="dt" ident="data.pattern">
  <gloss>regular expression pattern</gloss>
  <gloss version="2007-12-20" xml:lang="kr">정규표현 유형</gloss>
  <desc>defines attribute values which are expressed as a regular expression.</desc>
  <desc version="2007-12-20" xml:lang="kr">정규표현으로 표시된 속성 값을 정의한다.</desc>
  <desc version="2007-05-02" xml:lang="zh-tw">定義的屬性值範圍以固定方法表示</desc>
  <desc version="2008-04-05" xml:lang="ja">
  正規表現を属性値として定義する．
  </desc>
  <desc version="2007-06-12" xml:lang="fr">définit la gamme des valeurs d'attributs exprimés
      comme une expression régulière</desc>
  <desc version="2007-05-04" xml:lang="es">define una gama de valores de atributos expresados como una expresión regular.</desc>
  <desc version="2007-01-21" xml:lang="it">definisce una gamma di valori di attributi rappresentati come espressione regolare</desc>
  <content>
    <rng:data type="token"/>
  </content>
  <remarks>
    <p>
      <cit>
        <quote>A regular expression, often called a
	  <term>pattern</term>, is an expression that describes a set of
	  strings. They are usually used to give a concise description of a
	  set, without having to list all elements. For example, the set
	  containing the three strings <mentioned>Handel</mentioned>,
	  <mentioned>Händel</mentioned>, and <mentioned>Haendel</mentioned>
	  can be described by the pattern <code>H(ä|ae?)ndel</code> (or
	  alternatively, it is said that the pattern
	  <code>H(ä|ae?)ndel</code> <term>matches</term> each of the three
	  strings)</quote>
        <ref target="http://en.wikipedia.org/wiki/Regular_expression#Basic_concepts">wikipedia</ref>
      </cit>
    </p>
  </remarks>
  <remarks xml:lang="ja">
    <p>
      <cit>
        <quote>
	正規表現は，よく<term>パタン/パターン</term>ともいわれるもので，
	一連の文字列を示すための表現方法である．一般には，簡潔な表現で，
	多くのものを表現するために使用される．例えば，3つの文字列
	<mentioned>Handel</mentioned>, <mentioned>Händel</mentioned>,
	<mentioned>Haendel</mentioned>を，１つのパタン
	<code>H(ä|ae?)ndel</code>で示すことができる(または，
	<code>H(ä|ae?)ndel</code>は，3つの文字列のいずれにも
	<term>マッチする</term>，といえる)．
	</quote>
        <ref target="http://en.wikipedia.org/wiki/Regular_expression#Basic_concepts">wikipedia</ref>
      </cit>
    </p>
  </remarks>
</macroSpec>
