KTUGFaq
KTUG FAQ
Even the smallest candle burns brighter in the dark.
EmEditorTip&value= › 치歐/obsolete › KC2008Plus&value=MiKTeX/FindPage › PDF그림포함하기&value= › Yap/���&value=DHUcs/ȭ › RegularExpression
r1.7
@@ -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ũ ̾Ƴ ǥ ]
@@ -24,10 +67,28 @@
== Tips ==== Utility ==
Regular Expression Coach, Regular Expression нϴµ ־ Դϴ.
Lisp
, ˴ϴ.
'' ٿ ֳ? mailing
Regular Expression Coach
ϴ ǰ? --[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
-- [smcho]----
SeeAlso. Nsmk:Խ
----
CategoryGlossary CategorySoftwareTool
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 ¶
-
- ̳ ¡ ξ̰ ǥ ϰ ֽϴ. ´ ̶ մϴ. ȣ Ÿ մϴ. å ϴ. ( ϴ Դϴ.) -- hermian
- Python Regular Expression Ÿ ڿ ó Ǿ ֽϴ.
- http://gnosis.cx/TPiP/ Text Ǿ ֽϴ.
- LaTeX åԴϴ.
3 ũ ¶
- regexp.pdfó HDD ִ Դϴ.
- ѵƴ
- EzDoum
- redwiki ǥ
- PHP ǥ Ʈ ũƮ
- http://www.regxlib.com/
- htmlũ ̾Ƴ ǥ
- http://www.whiterabbitpress.com/osp/unix/regex.html
- http://www.linuxfocus.org/Korean/July1998/article53.html
- http://frame.apmsetup.com/?url=http://www.apmsetup.com/PHP/?pid=96 PHP
- Python Regular Expression HOWTO ѱ۹
5 Utility ¶
Regular Expression Coach, Regular Expression нϴµ ־ Դϴ.
Lisp , ˴ϴ.
α ٿε
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
-- smcho