progcom         Wed Oct 22 15:43:07 2003 EDT

  Modified files:              
    /phpdoc/en/reference/pcre   configure.xml constants.xml reference.xml 
  Log:
  New translate
  
Index: phpdoc/en/reference/pcre/configure.xml
diff -u phpdoc/en/reference/pcre/configure.xml:1.2 
phpdoc/en/reference/pcre/configure.xml:1.3
--- phpdoc/en/reference/pcre/configure.xml:1.2  Fri Jan 10 20:15:30 2003
+++ phpdoc/en/reference/pcre/configure.xml      Wed Oct 22 15:43:07 2003
@@ -1,16 +1,17 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.2 -->
 <section id="pcre.installation">
  &reftitle.install;
  <para>
-  Beginning with PHP 4.2.0 these functions are enabled by default. You can
-  disable the pcre functions with
-  <option role="configure">--without-pcre-regex</option>. Use
-  <option role="configure"> --with-pcre-regex=DIR</option> to specify DIR
-  where PCRE's include and library files are located, if not using bundled library.
-  For older versions you have to configure and compile PHP 
-  with <option role="configure">--with-pcre-regex[=DIR]</option> in order
-  to use these functions.
+  PHP 4.2.0부터 이 함수들은 기본값으로 사용 가능합니다.
+  <option role="configure">--without-pcre-regex</option>로 PCRE 함수를
+  사용하지 않을 수 있습니다. 번들된 라이브러리를 사용하지 
않는다면,
+  <option role="configure">--with-pcre-regex=DIR</option>을 이용하여
+  PCRE의 인크루드와 라이브러리 파일이 있는 특정한 디렉토리를 
지정하십시오.
+  이전 버전에서는 이 함수들을 사용하기 위해서는 PHP를 
+  <option role="configure">--with-pcre-regex[=DIR]</option>를 주어서
+  설정하고 컴파일 해야합니다.
  </para>
  &windows.builtin;
 </section>
@@ -35,4 +36,3 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
-
Index: phpdoc/en/reference/pcre/constants.xml
diff -u phpdoc/en/reference/pcre/constants.xml:1.1 
phpdoc/en/reference/pcre/constants.xml:1.2
--- phpdoc/en/reference/pcre/constants.xml:1.1  Sun Jul 28 10:33:12 2002
+++ phpdoc/en/reference/pcre/constants.xml      Wed Oct 22 15:43:07 2003
@@ -1,67 +1,66 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 -->
 <section id="pcre.constants">
  &reftitle.constants;
  &extension.constants;
  <table>
-  <title>PREG constants</title>
+  <title>PREG 상수</title>
   <tgroup cols="2">
    <thead>
     <row>
-     <entry>constant</entry>
-     <entry>description</entry>
+     <entry>상수</entry>
+     <entry>설명</entry>
     </row>
    </thead>
    <tbody>
     <row>
      <entry>PREG_PATTERN_ORDER</entry>
      <entry>
-      Orders results so that $matches[0] is an array of full pattern
-      matches, $matches[1] is an array of strings matched by the first
-      parenthesized subpattern, and so on. This flag is only used with
-      <function>preg_match_all</function>.
+      $matches[0]는 패턴 전체를 가지고, $matches[1]는
+      처음 괄호에 들은 서브패턴의 문자열인 방식으로 결과를 
정렬합니다.
+      이 플래그는 <function>preg_match_all</function>에서만 사용합니다.
      </entry>
     </row>
     <row>
      <entry>PREG_SET_ORDER</entry>
      <entry>
-      Orders results so that $matches[0] is an array of first set of
-      matches, $matches[1] is an array of second set of matches, and so
-      on. This flag is only used with <function>preg_match_all</function>.
+      $matches[0]는 매치된 첫번째 세트고, $matches[1]는
+      두번째 세트인 방식으로 결과를 정렬합니다.
+      이 플래그는 <function>preg_match_all</function>에서만 사용합니다.
      </entry>
     </row>
     <row>
      <entry>PREG_OFFSET_CAPTURE</entry>
      <entry>
-      See the description of
-      <constant>PREG_SPLIT_OFFSET_CAPTURE</constant>.  This flag is
-      available since <literal>PHP</literal> 4.3.0 .
+      <constant>PREG_SPLIT_OFFSET_CAPTURE</constant>의 설명을 보십시오.
+      이 플래그는 <literal>PHP</literal> 4.3.0부터 사용할 수 있습니다.
      </entry>
     </row>
     <row>
      <entry>PREG_SPLIT_NO_EMPTY</entry>
      <entry>
-      This flag tells <function>preg_split</function> to only return only
-      non-empty pieces.
+      이 플래그는 <function>preg_split</function>가 비어있지 않는 
조각만을
+      반환하게 합니다.
      </entry>
     </row>
     <row>
      <entry>PREG_SPLIT_DELIM_CAPTURE</entry>
      <entry>
-      This flag tells <function>preg_split</function> to capture
-      parenthesized expression in the delimiter pattern as well. This flag
-      is available since <literal>PHP</literal> 4.0.5 .
+      이 플래그는 <function>preg_split</function>가 구분자 안의 괄호로
+      둘러싸인 표현식도 잡아내게 합니다. <literal>PHP</literal> 
4.0.5부터
+      사용할 수 있습니다.
      </entry>
     </row>
     <row>
      <entry>PREG_SPLIT_OFFSET_CAPTURE</entry>
      <entry>
-      If this flag is set, for every occuring match the appendant string
-      offset will also be returned. Note that this changes the return
+      이 플래그를 지정하면, 모든 부수적인 문자열 오프셋의 
매치도 반환합니다.
+      Note that this changes the return
       value in an array where very element is an array consisting of the
       matched string at offset 0 and it's string offset into subject at
-      offset 1. This flag is available since <literal>PHP</literal> 4.3.0
-      and is only used for <function>preg_split</function>.
+      offset 1. <literal>PHP</literal> 4.3.0부터 사용할 수 있고,
+      <function>preg_split</function>에서만 사용합니다.
      </entry>
     </row>
    </tbody>
Index: phpdoc/en/reference/pcre/reference.xml
diff -u phpdoc/en/reference/pcre/reference.xml:1.5 
phpdoc/en/reference/pcre/reference.xml:1.6
--- phpdoc/en/reference/pcre/reference.xml:1.5  Sun Dec  1 12:10:16 2002
+++ phpdoc/en/reference/pcre/reference.xml      Wed Oct 22 15:43:07 2003
@@ -1,39 +1,38 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.5 -->
 <reference id="ref.pcre">
-  <title>Regular Expression Functions (Perl-Compatible)</title>
+  <title>정규표현식 함수 (펄-호환)</title>
   <titleabbrev>PCRE</titleabbrev>   
 
   <partintro>
    <section id="pcre.intro">
     &reftitle.intro;
     <para>
-     The syntax for patterns used in these functions closely resembles
-     Perl. The expression should be enclosed in the delimiters, a
-     forward slash (/), for example.  Any character can be used for
-     delimiter as long as it's not alphanumeric or backslash (\). If
-     the delimiter character has to be used in the expression itself,
-     it needs to be escaped by backslash. Since PHP 4.0.4, you can also use
-     Perl-style (), {}, [], and &lt;&gt; matching delimiters.
-    </para>
-    <para>
-     The ending delimiter may be followed by various modifiers that
-     affect the matching. 
-     See <link linkend="pcre.pattern.modifiers">Pattern Modifiers</link>.
+     이 함수들에서 사용되는 패턴 문법은 펄에 가깝습니다. 
표현식은
+     구분자로 감싸져야만 합니다. 예를 들면, 슬래쉬(/)로 
감싸줍니다.
+     영문자와 숫자, 백슬래쉬(\)를 제외한 어떠한 문자라도 
구분자로
+     사용할 수 있습니다. 구분자가 표현식 안에서 사용될 경우,
+     백슬래쉬로 이스케이프해야합니다. PHP 4.0.4부터, 펄 형식의
+     (), {}, [], &lt;&gt; 매칭 구분자를 사용할 수 있습니다.
     </para>
     <para>
-     PHP also supports regular expressions using a POSIX-extended syntax
-     using the <link linkend="ref.regex">POSIX-extended regex functions.</link>.
+     종료 구분자 뒤에는 매칭에 영향을 주는 여러가지 
변경자(midifier)를
+     쓸 수 있습니다. <link linkend="pcre.pattern.modifiers">패턴
+     변경자</link>를 참고하십시오.
+    </para>
+    <para>
+     PHP는 <link linkend="ref.regex">POSIX 확장 정규표현식 함수</link>로
+     POSIX 확장 문법을 사용하는 정규표현식을 지원합니다.
     </para>
    </section>
    
    <section id="pcre.requirements">
     &reftitle.required;
     <para>
-     Regular expression support is provided by the PCRE library
-     package, which is open source software, written by Philip Hazel,
-     and copyright by the University of Cambridge, England. It is
-     available at <ulink url="&url.pcre;">&url.pcre;</ulink>.
+     정규표현식 지원은 Philip Hazel이 작성한 PCRE 라이브러리 
패키지에
+     의해 제공됩니다. 저작권은 University of Cambridge, England에
+     있습니다. <ulink url="&url.pcre;">&url.pcre;</ulink>에 존재합니다.
     </para>
    </section>
 
@@ -55,7 +54,7 @@
     &reftitle.examples;
     <para>
      <example>
-      <title>Examples of valid patterns</title>
+      <title>유효한 패턴 예제</title>
       <itemizedlist>
        <listitem><simpara><literal>/&lt;\/\w+&gt;/</literal></simpara></listitem>
        <listitem><simpara><literal>|(\d{3})-\d+|Sm</literal></simpara></listitem>
@@ -66,21 +65,21 @@
     </para>
     <para>
      <example>
-      <title>Examples of invalid patterns</title>
+      <title>유효하지 않은 패턴 예제</title>
       <itemizedlist>
        <listitem>
         <simpara>
-         <literal>/href='(.*)'</literal> - missing ending delimiter
+         <literal>/href='(.*)'</literal> - 종료 구분자가 없습니다
         </simpara>
        </listitem>
        <listitem>
         <simpara>
-         <literal>/\w+\s*\w+/J</literal> - unknown modifier 'J'
+         <literal>/\w+\s*\w+/J</literal> - 알 수 없는 변경자 'J'
         </simpara>
        </listitem>
        <listitem>
         <simpara>
-         <literal>1-\d3-\d3-\d4|</literal> - missing starting delimiter
+         <literal>1-\d3-\d3-\d4|</literal> - 시작 구분자가 없습니다
         </simpara>
        </listitem>
       </itemizedlist>
@@ -113,4 +112,3 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
-

Reply via email to