sun's longitude:36 15 44 
¡¤ ÀÚÀ¯°Ô½ÃÆÇ ¡¤ ¹¯°í´äÇϱ⠡¤ ¾ËÆĹ®¼­ ¡¤ RPMS list
¡¤ »ç¿ëÀÚ¹®¼­ ¡¤ ÆÁ/FAQ¸ðÀ½ ¡¤ ¸®´ª½ºLinks ¡¤ ÀÚ·á½Ç
¡¤ ¼­¹öÁ¤º¸ ¡¤ ¿î¿µÀÚ ¡¤ Books/FAQ ¡¤ FreeBSD
 
/board/read.php:¼Ò½ºº¸±â   
 
¾ËÆĹ®¼­
ÀÚÁÖ Àؾî¸Ô°Å³ª, ¸Þ¸ðÇØ µÑ Çʿ伺ÀÌ ÀÖ´Â ÆÁÀ̳ª ¹®¼­, ±âŸ µîµî
[*** ¾²±â ±ÝÁö´Ü¾î ÆÐÅÏ ***]
±Û º»¹® Áß°£¿¡ ¾÷·ÎµåÇÒ À̹ÌÁö¸¦ Ãß°¡ÇÏ´Â ¹æ¹ý : @@À̹ÌÁöÀ̸§@@
ex) @@foo.gif@@
7 ¹ø ±ÛÀÇ ´äÀå±Û: [PHP] m (PCRE_MULTILINE), /pattern/m
±Û¾´ÀÌ: »êÀÌ [ȨÆäÀÌÁö] ±Û¾´³¯: 2003³â 08¿ù 02ÀÏ 01:14:45 Åä(»õº®) Á¶È¸: 3258
m (PCRE_MULTILINE)
      By default, PCRE treats the subject string as consisting of a
      single "line" of characters (even if it actually contains
      several newlines). The "start of line" metacharacter (^)
      matches only at the start of the string, while the "end of
      line" metacharacter ($) matches only at the end of the
      string, or before a terminating newline (unless
      D modifier is set). This is the same as
      Perl.
     
      When this modifier is set, the "start of line" and "end of
      line" constructs match immediately following or immediately
      before any newline in the subject string, respectively, as
      well as at the very start and end. This is equivalent to
      Perl's /m modifier. If there are no "\n" characters in a
      subject string, or no occurrences of ^ or $ in a pattern,
      setting this modifier has no effect.

ex)

$str = '0123456789\nabcdefg\nABCDEFG';

/pattern/ (normal)

^ => 0
$ => G


/pattern/m (multi-line "\n")

^ => 0, a, A
$ => 9, g, G





 
ÀÌÀü±Û : [PHP] PCRE Pattern Modifiers
´ÙÀ½±Û : [PHP] [0-9], [0-9]*, [0-9]+  
 from 61.254.75.40
JS(Redhands)Board 0.4 +@

|±Û¾²±â| |´äÀå¾²±â| |¼öÁ¤| |»èÁ¦|
|ÀÌÀü±Û| |´ÙÀ½±Û| |¸ñ·Ïº¸±â|
Àμâ¿ë 

apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.02(server) + (network) + (browser) seconds