<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium. 
Dual-licensed under CC-by and BSD2 licences 
See the file COPYING.txt for details
$Date: 2012-04-18 20:14:25 +0100 (Wed, 18 Apr 2012) $
$Id: data.pattern.xml 10249 2012-04-18 19:14:25Z 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 versionDate="2007-12-20" xml:lang="ko">정규표현 유형</gloss>
  <desc>defines attribute values which are expressed as a regular expression.</desc>
  <desc versionDate="2007-12-20" xml:lang="ko">정규표현으로 표시된 속성 값을 정의한다.</desc>
  <desc versionDate="2007-05-02" xml:lang="zh-TW">定義的屬性值範圍以固定方法表示</desc>
  <desc versionDate="2008-04-05" xml:lang="ja"> 正規表現を属性値として定義する． </desc>
  <desc versionDate="2007-06-12" xml:lang="fr">définit la gamme des valeurs d'attributs exprimés comme
    une expression régulière</desc>
  <desc versionDate="2007-05-04" xml:lang="es">define una gama de valores de atributos expresados como
    una expresión regular.</desc>
  <desc versionDate="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 rend='display'>
        <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>
  <remarks versionDate="2009-05-25" xml:lang="fr">
    <p>
      <cit>
        <quote>Une expression régulière, souvent appelée <term>modèle</term>, est une expression
          qui décrit un jeu de chaînes de caractères. Elles sont généralement utilisées pour donner une brève
          description d'un jeu, sans avoir à en lister tous les éléments. Par exemple, le jeu contenant
          les trois chaînes de caractères <mentioned>Handel</mentioned>, <mentioned>Händel</mentioned>, et
            <mentioned>Haendel</mentioned> peut être décrit comme le modèle
          <code>H(ä|ae?)ndel</code> (ou on peut dire que <code>H(ä|ae?)ndel</code>
          <term>équivaut à</term> chacune des trois chaînes)</quote>
        <ref target="http://fr.wikipedia.org/wiki/Expression_rationnelle">wikipedia</ref>
        <ref target="http://en.wikipedia.org/wiki/Regular_expression#Basic_concepts">wikipedia</ref>
      </cit>
    </p>
  </remarks>
</macroSpec>
