<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns:mml = "http://www.w3.org/1998/Math/MathML" lang = "ko"><head><meta charset = "UTF-8"/><meta name = "copyright" content = "(C) Copyright 2020"/><meta name = "DC.rights.owner" content = "(C) Copyright 2020"/><meta name = "DC.type" content = "reference"/><meta name = "abstract" content = "정규식은 필터 워크숍 및 검색 판과 DisableMatchingProperties 고급 설정에서 사용할 수 있습니다. 이 토픽에서는 정규식 구문 및 약어에 대해 설명합니다."/><meta name = "description" content = "정규식은 필터 워크숍 및 검색 판과 DisableMatchingProperties 고급 설정에서 사용할 수 있습니다. 이 토픽에서는 정규식 구문 및 약어에 대해 설명합니다."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "cps-r-ReferenceInformation-RegularExpressionSyntax"/><meta name = "DC.language" content = "ko"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>참조 정보: 정규식 구문</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "cps-r-ReferenceInformation-RegularExpressionSyntax">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>참조 정보: 정규식 구문</h1></td></tr><tr><td class = "DocHeader4" colspan = "2"/></tr><tr><td class = "DocHeader3" colspan = "2"><table class = "DocThemeIntro" id = "table12"><tr><td class = "Intro1Only"><p class = "header"><p class = "abstract">
    <span class = "shortdesc">정규식은 필터 워크숍 및 검색 판과 <span class = "ph uicontrol">DisableMatchingProperties</span> 고급 설정에서 사용할 수 있습니다. 이 토픽에서는 정규식 구문 및 약어에 대해 설명합니다.</span>

  </p>
<p>이 페이지에서는 다음에 대해 설명합니다.</p><ul><li><a href = "#r-RegularExpressionSyntax" id = "toc_rg" title = "이 테이블에는 정규식으로 사용할 수 있는 메타 문자가 나열되어 있습니다.">정규식 구문</a></li><li><a href = "#r-Abbreviations" id = "toc_rg" title = "이 표에는 [0-9] 대신 사용되는 \d 등 지원되는 약어가 나와 있습니다.">약어</a></li></ul>
</p></td></tr></table></td></tr></table>
  

  
  <article class = "topic reference nested1" aria-labelledby = "ariaid-title2" id = "r-RegularExpressionSyntax">
    <h2 class = "title topictitle2">정규식 구문</h2>

    
    <div class = "body refbody"><p class = "abstract">
      <span class = "shortdesc">이 테이블에는 정규식으로 사용할 수 있는 메타 문자가 나열되어 있습니다.</span>

    </p>

      <table class = "table frame-none"><caption/><colgroup><col style = "width:50%"/><col style = "width:50%"/></colgroup><thead class = "thead">
            <tr class = "row">
              <th class = "entry" id = "r-RegularExpressionSyntax__entry__1">메타 문자</th>
              <th class = "entry" id = "r-RegularExpressionSyntax__entry__2">의미</th>
            </tr>
          </thead><tbody class = "tbody">
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">(으)로 설정되었을 때).</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">단일 문자에 해당합니다.</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">[ ]</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">문자 클래스를 나타냅니다. 괄호 안의 모든 문자에 해당합니다(예: <kbd class = "ph userinput userinput">[abc]</kbd>는"a", "b" 및 "c"에 해당함).</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">^</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">이 메타 문자가 문자 클래스 시작 시 발생한 경우 문자 클래스를 무효화합니다. 무효화된 문자 클래스는 괄호 안에 있는 문자를 제외한 모든 문자에 해당합니다(예: <kbd class = "ph userinput userinput">[^abc]</kbd>는 "a", "b" 및 "c"를 제외한 모든 문자에 해당함).<p>^가 정규식의 앞에 있는 경우에는 입력 내용의 시작 문자에 해당합니다(예: <kbd class = "ph userinput userinput">^[abc]</kbd>는 "a", "b" 또는 "c"로 시작되는 입력에 해당함).</p></td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">-</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">문자 클래스에서는 문자 범위를 나타냅니다(예: <kbd class = "ph userinput userinput">[0-9]</kbd>는 "0"에서 "9"까지의 숫자에 해당함).</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">?</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">앞에 나오는 식이 옵션임을 나타냅니다. 1회 또는 전혀 없음에 해당합니다(예: <kbd class = "ph userinput userinput">[0-9][0-9]?</kbd>는 "2" 및 "12"에 해당함)</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">+</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">앞에 나오는 식이 1회 이상의 횟수에 해당함을 나타냅니다(예: <kbd class = "ph userinput userinput">[0-9]+</kbd>는 "1", "13", "456" 등에 해당함).</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">*</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">앞에 나오는 식이 0 이상의 횟수에 해당함을 나타냅니다.</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">??, +?, *?</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">?, + 및 *의 Non-greedy 버전입니다. 이러한 항목은 가능한 많이에 해당하는 greedy 버전과 달리 가능한 적게에 해당합니다(예를 들어 입력 "&lt;abc&gt;&lt;def&gt;"인 경우, <kbd class = "ph userinput userinput">&lt;.*?&gt;</kbd>는 "&lt;abc&gt;"에 해당하는 반면 <kbd class = "ph userinput userinput">&lt;.*&gt;</kbd>는 "&lt;abc&gt;&lt;def&gt;"에 해당함).</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">( )</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">그룹화 연산자. 예: <kbd class = "ph userinput userinput">(\d+,)*\d+</kbd>는 쉼표로 구분된 숫자 목록에 해당합니다(예를 들어 "1" 또는 "1,23,456").</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">{ }</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">일치 그룹을 나타냅니다.</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">\</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">
                <p>이스케이프 문자: 다음 문자를 표현 그대로 해석합니다(예: <kbd class = "ph userinput userinput">[0-9]+</kbd>는 하나 이상의 숫자에 해당하지만 <kbd class = "ph userinput userinput">[0-9]\+</kbd>는 숫자 다음에 더하기 문자가 있는 경우에 해당함). 약어(영숫자에 대한 <kbd class = "ph userinput userinput">\a</kbd> 등, 다음 표 참조)에도 사용됩니다.</p>
                <p>\가 숫자 n 다음에 오는 경우 n번째 일치 그룹에 해당합니다(0부터 시작). 예: <kbd class = "ph userinput userinput">&lt;{.*?}&gt;.*&lt;/\0&gt;</kbd>은 "&lt;head&gt;Contents&lt;/head&gt;"에 해당합니다.</p>
              </td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">$</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">정규식 끝에서 이 문자는 입력 내용의 끝에 해당합니다(예: <kbd class = "ph userinput userinput">[0-9]$</kbd>는 입력의 끝에 있는 숫자에 해당함).</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">|</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">교대 연산자: 둘 중 하나에 해당하면 되는 두 개의 표현을 분리합니다(예: <kbd class = "ph userinput userinput">T|the</kbd>는 "The" 또는 "the"에 해당함).</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__1">!</td>
              <td class = "entry" headers = "r-RegularExpressionSyntax__entry__2">무효화 연산자: ! 다음에 오는 식은 입력 내용에 해당하지 않아야 함을 나타냅니다(예: <kbd class = "ph userinput userinput">a!b</kbd>는 뒤에 "b"가 붙지 않은 "a"에 해당함).</td>
            </tr>
          </tbody></table>
    </div>

  </article>
  <article class = "topic reference nested1" aria-labelledby = "ariaid-title3" id = "r-Abbreviations">
    <p><map name = "FPMap1"><area href = "#hj-top" title = "위로 돌아가기" shape = "rect" coords = "416, 0, 435, 10"/></map><span class = "itemsprite"/></p><h2 class = "title topictitle2">약어</h2>

    
    <div class = "body refbody"><p class = "abstract">
      <span class = "shortdesc">이 표에는 <kbd class = "ph userinput userinput">[0-9]</kbd> 대신 사용되는 <kbd class = "ph userinput userinput">\d</kbd> 등 지원되는 약어가 나와 있습니다.</span>

    </p>

      <table class = "table frame-none"><caption/><colgroup><col style = "width:50%"/><col style = "width:50%"/></colgroup><thead class = "thead">
            <tr class = "row">
              <th class = "entry" id = "r-Abbreviations__entry__1">약어</th>
              <th class = "entry" id = "r-Abbreviations__entry__2">일치 항목</th>
            </tr>
          </thead><tbody class = "tbody">
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\a</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">영숫자: ([a-zA-Z0-9])</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\b</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">공백(공란): ([ \\t])</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\c</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">영문자: ([a-zA-Z])</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\d</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">십진수: ([0-9])</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\h</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">16진수: ([0-9a-fA-F])</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\n</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">줄 바꿈 문자: (\r|(\r?\n))</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\q</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">따옴표 붙은 문자열: (\"[^\"]*\")|(\'[^\']*\')</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\w</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">단일어: ([a-zA-Z]+)</td>
            </tr>
            <tr class = "row">
              <td class = "entry" headers = "r-Abbreviations__entry__1">\z</td>
              <td class = "entry" headers = "r-Abbreviations__entry__2">정수: ([0-9]+)</td>
            </tr>
          </tbody></table>
    </div>

  </article>
</td></tr></table><script type = "text/javascript" src = "../DSDocUI_Bottom34.js">/* */</script></body>
</html>
