<!--
Copyright TEI Consortium. 
Dual-licensed under CC-by and BSD2 licences 
See the file COPYING.txt for details
-->
<?xml-model href="http://jenkins.tei-c.org/job/TEIP5/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<dataSpec xmlns="http://www.tei-c.org/ns/1.0" module="tei"
  ident="teidata.pattern">
  <!-- <gloss 
          versionDate="2007-07-02"
          xml:lang="en">regular expression pattern</gloss>
  <gloss 
          versionDate="2007-12-20"
          xml:lang="ko">정규표현 유형</gloss>-->
  <desc versionDate="2007-10-18" xml:lang="en">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 exprimant 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>
    <dataRef name="token"/>
  </content>
  <remarks versionDate="2013-03-18" xml:lang="en">
    <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>
    <p>This TEI datatype is mapped to the XSD token datatype, and may therefore
      contain any string of characters. However, it is recommended that the
      value used conform to the particular flavour of regular expression syntax
      supported by XSD Schema. </p>
    <!-- http://www.regular-expressions.info/xml.html -->
  </remarks>
  <remarks xml:lang="ja" versionDate="2008-04-05">
    <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>
</dataSpec>
