KTUGFaq

KTUG FAQ

α:
йȣ:
The attacker must vanquish; the defender need only survive.
Karnes/2006-07&value=ѱTrueType۲ûKC2006-2/Upgrade?독후감&value=Karnes/FrontPage › KTUG위키/제안&value=DVI̹&value=KTUG위키/제안&value=DVI̹TrueType&value=Karnes/Ǻ׸ › RegularExpression

r1.8

@@ -1,5 +1,48 @@
'''ǥ''' Ͽ մϴ.
[[TableOfContents]]
== ǥ̶ ==
* Command λ󿡼 Ȯڿ abc ϴ ̸ ˰ dir abc.* ǥ մϴ. ⿡ * ǥ everything ǥϴ ǥ Դϴ.
* ^ ڿ ó, $ ڿ , + ϳ̻ , * 0 ̻ ǹԴϴ. ̿ܿ ϴ.
* ǥ ڿ Ͽ ĪǴ° Ǵϴ 뵵 ַ մϴ.
*  a+def ǥĿ aaadef Ī def Ī ʽϴ.
* ǥ Regular Expression ̶ Ϻ ѹȭ ѰԴϴ. ǥ Automata ̷п ϰ ǰ, Compiler ̷п մϴ. Ϸ 鶧 ϴ Lex ҽڵ忡 Identifier, Reserved ã ؼ ǥ մϴ.
=== ǥ ===
* ǥ  ã ׳ ϴ 뵵 մϴ.
* vi ͷ Ҷ 2 κ 4α ó ٿ 4 ־ 찡 ϴ. ̶ ϸ մϴ. {{{2,4s/^/ /g }}}
* LaTeX description environment Ǿ ִ ѹ itemize ٲٰ perl ̿Ѵٸ ֽϴ. ǹ̴ 'global(g)ϰ substitute (s) description ̶ itemize (substitute)϶' ǹ̰ ˴ϴ. ̳ ̿ ǥ ֽϴ.
{{{#!vim perl
while (<>) {
s/description/itemize/g;
}
}}}
*  ݺǴ pattern ãƺ 츦 ô. 츮 ã ϴ pattern <sup >(\d)</sup></a></span>(.*)</div></footnote> սô. ǥ ٸ ǥ ƴմϴ. ׳ 츮 б ϰ Դϴ. Pattern 2 մϴ.
{{{#!vim
\def\jstoday{2004-12-17 16:12:00} \input htex \input onmouseover.4ht <js><footnote>fn1x0=<div class="js"><span class="footnote-mark"><a
id="fn1x0"> <sup >1</sup></a></span>̳ ⱸ ̿ؼ ³ 굵 Ա 캸
</div></footnote>
<footnote>fn2x0=<div class="js"><span class="footnote-mark"><a
id="fn2x0"> <sup >2</sup></a></span> **********************Դϴ</div></footnote>
<> ol_hauto = 1; </></js>
}}}
{{{#!vim perl
#!/usr/bin/perl
open(RFH,$ARGV[0]) || die $!;
while(<RFH>){
$tex_content .= $_;
}
close RFH; #켱 ʿ ȭϿ ü Į data ҷ Դϴ.
while ($tex_content =~ m{<sup >(\d)</sup></a></span>(.*?)</div></footnote>}gms) #Ⱑ ߿ pointε.ؿ ϰڽϴ.
{
print "\n\n$1\n $2\n";
}
}}}
ϸ ˴ϴ.
* 쿡 ־ modifier 캸 msڴ line óϱ ؼ ٿ ̸, gɼ data match ϶ Դϴ. ⼭ $2 شϴ (.*?) ִµ, ̰ ǹ̴ .* (Խ غο ǽ ǥԴϴ.) ؼ 2° match ʰ ϱ Դϴ.(?) ׸ while match data ʾ, match κк ٽ match õ ϶ ǹԴϴ.
ڼ ü̳ Tutorial ñ ٶϴ.
== ==
[[ISBN(8979142269,k)]]
*
@@ -13,7 +56,7 @@
* Uploads:regexp.pdf ó HDD ִ Դϴ.
* [http://joinc.co.kr/modules.php?name=News&file=article&sid=171&mode=nested ѵƴ ]
* [http://www.ezdoum.com/stories.php?story=02/05/19/5810629 EzDoum]
* [http://www.redwiki.net/wiki/wiki.php/% BF B0% C0 F8%B0%B3%C7% C2 C1% BC B7% D2 CE% BD C1% BA A7% 20 C6% C5 AE% F8 B8% 20 F0%C0% CC%BE%DF%B1%E2 BD#s- 20 21 redwiki ǥ]
* [http://www.bitesizeinc.net/project/regexper PHP ǥ ׽Ʈ ũƮ]
* http://www.regxlib.com/
* [http://baramai.com/dbwiki/index.php/RegExpr htmlũ ̾Ƴ ǥ ]
@@ -26,17 +69,26 @@
== Utility ==
Regular Expression Coach, Regular Expression нϴµ ־ Դϴ.
Lisp , ˴ϴ.
ѱWindowsȯ濡 '' Ʈ ٿ ֳ? mailing displayϴµ ó ϴ ? --[hermian]''
α׷ ٿε Ҹ ߰Ͽϴ. -- [smcho]
α׷ ٿε
[http://weitz.de/regex-coach/]
ϸ Ʈ
[http://common-lisp.net/mailman/listinfo/regex-coach]

ѱWindowsȯ濡 Ʈ displayϴµ ó ʿմϴ.
regedtؼ
HKEY_CURRENT_CONFIG/software/fonts .
hgvafix.fon -> vgafix.fon
hvgasys.fon -> vgasys.fon
vga949.fon -> vgaoem.fon

http://common-lisp.net/mailman/listinfo/regex-coach
-- [smcho]
----
Ű ϴ ϴ. з ֽñ ٶϴ. Contributors : [smcho],[hermian]
----
SeeAlso. Nsmk:Խ
----
CategoryGlossary CategorySoftwareTool



ǥ Ͽ մϴ.

1 ǥ̶
1.1 ǥ
2
3 ũ
4 Tips
5 Utility
[]

1 ǥ̶

  • Command λ󿡼 Ȯڿ abc ϴ ̸ ˰ dir abc.* ǥ մϴ. ⿡ * ǥ everything ǥϴ ǥ Դϴ.
    • ^ ڿ ó, $ ڿ , + ϳ̻ , * 0 ̻ ǹԴϴ. ̿ܿ ϴ.
    • ǥ ڿ Ͽ ĪǴ° Ǵϴ 뵵 ַ մϴ.
      •  a+def ǥĿ aaadef Ī def Ī ʽϴ.
  • ǥ Regular Expression ̶ Ϻ ѹȭ ѰԴϴ. ǥ Automata ̷п ϰ ǰ, Compiler ̷п մϴ. Ϸ 鶧 ϴ Lex ҽڵ忡 Identifier, Reserved ã ؼ ǥ մϴ.
[]

1.1 ǥ

  • ǥ  ã ׳ ϴ 뵵 մϴ.
    • vi ͷ Ҷ 2 κ 4α ó ٿ 4 ־ 찡 ϴ. ̶ ϸ մϴ. 2,4s/^/ /g
    • LaTeX description environment Ǿ ִ ѹ itemize ٲٰ perl ̿Ѵٸ ֽϴ. ǹ̴ 'global(g)ϰ substitute (s) description ̶ itemize (substitute)϶' ǹ̰ ˴ϴ. ̳ ̿ ǥ ֽϴ.
  while (<>) {
    s/description/itemize/g;
  }
  •  ݺǴ pattern ãƺ 츦 ô. 츮 ã ϴ pattern <sup >(\d)</sup></a></span>(.*)</div></footnote> սô. ǥ ٸ ǥ ƴմϴ. ׳ 츮 б ϰ Դϴ. Pattern 2 մϴ.
\def\jstoday{2004-12-17 16:12:00} \input htex \input onmouseover.4ht  <js><footnote>fn1x0=<div class="js"><span class="footnote-mark"><a
 id="fn1x0">    <sup >1</sup></a></span>̳ ⱸ ̿ؼ  ³ 굵 Ա 캸
</div></footnote>
<footnote>fn2x0=<div class="js"><span class="footnote-mark"><a
 id="fn2x0">    <sup >2</sup></a></span> **********************Դϴ</div></footnote>

   <>    ol_hauto = 1;                                                                                                            </></js>

#!/usr/bin/perl
open(RFH,$ARGV[0]) || die $!;
while(<RFH>){
        $tex_content .= $_;
        }
close RFH; #켱 ʿ ȭϿ ü Į data ҷ Դϴ.
while ($tex_content =~ m{<sup >(\d)</sup></a></span>(.*?)</div></footnote>}gms) #Ⱑ  ߿ pointε.ؿ ϰڽϴ.
{
print "\n\n$1\n $2\n";
}
ϸ ˴ϴ. * 쿡 ־ modifier 캸 msڴ line óϱ ؼ ٿ ̸, gɼ data match ϶ Դϴ. ⼭ $2 شϴ (.*?) ִµ, ̰ ǹ̴ .* (Խ غο ǽ ǥԴϴ.) ؼ 2° match ʰ ϱ Դϴ.(?) ׸ while match data ʾ, match κк ٽ match õ ϶ ǹԴϴ. ڼ ü̳ Tutorial ñ ٶϴ.
[]

2

[ISBN-8979142269]
    • :) :) :) :) :) ̳׸ ¡ ξ̰ ǥ ϰ ֽϴ. ´ ׸̶ մϴ. ȣ Ÿ ׷ մϴ. å ϴ. ( ϴ Դϴ.) -- hermian
[ISBN-0321112547] -- smcho
[]

4 Tips


[]

5 Utility

Regular Expression Coach, Regular Expression нϴµ ־ Դϴ. Lisp , ˴ϴ.
ٿ ֳ? mailing ϴ ǰ? --hermian
α׷ ٿε Ҹ ߰Ͽϴ. -- smcho

α׷ ٿε [http]http://weitz.de/regex-coach/ ϸ Ʈ [http]http://common-lisp.net/mailman/listinfo/regex-coach

ѱWindowsȯ濡 Ʈ displayϴµ ó ʿմϴ. regedtؼ HKEY_CURRENT_CONFIG/software/fonts . hgvafix.fon -> vgafix.fon hvgasys.fon -> vgasys.fon vga949.fon -> vgaoem.fon

-- smcho


Contributors : smcho,hermian

SeeAlso. Nsmk:Խ


^
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2005-01-28 10:50:55
Processing time 0.0682 sec