֤ҤޤɽΥ

ogisoogiso.net

֤ҤޤפɽȤä򤹤ȤΥĤǤ

ɽե˻ȤäƸˤ

⡼ɤڤؤơʸgrepˡפǸФۤȤɤɽȤޤ*1

ξ硢ǥåѤʤΤǡ®٤٤ʤޤ

֤Ҥޤפ̾ʸ˸ǻȤɽ

֤Ҥޤפ̾ʸ˸ʥǥåѤˤǻȤɽϼΤ褦ˤʤäƤޤ

ʸʥˤ˻Ȥɽ
̾ʸ󷿤ʸ饹[Ԣ] []ʤɡ*2
ʸ̮ʸ̮ǻȤɽ
javaɽʤ餹٤Ѳǽ
ϰϻ귿ʸ饹[-] ʸ饹[^Ԣ][^-]ġ
URL https://docs.oracle.com/javase/jp/6/api/java/util/regex/Pattern.html

˻Ȥɽ¤Τϡ®뤿ΥǥåץबѤ뤿ǤǥåѤ뤿˥ˤϳꤷʸꤹɬפޤ

ʸ̮ʸ̮λĤʬʬƤΤǡ줾˸Τʸ򤦤ޤ꿶뤳ȤǤޤޤʸŪбޤ

ɽˤ

ʸꤹˤ礭ʬ̤ˡޤ

  1. ʸ饹ˤ
    [-]Ҥ餬
    [-]
    [-]*3JIS X0208
    [0-9]Ⱦѿ
    [A-Za-z]Ⱦѥե٥å
  2. UnicodeץѥƥUnicode֥åˤ

ƥ˥å

Ĵ٤бɽפĤƤ⡢򤽤ΤޤޥƸ뤳ȤǤʤ礬ޤä˥ǥåѤˡʾˤϼΤ褦ʹפ򤷤ƸƲ

ʸ̮ˤޤʬƤ

̵򤷤ʤǣʾʬ

8378


*1 оݤΥǡˤäƤѰդƤʤ⡣եʬǽ񤭴ѤǤޤ
*2 ʸ饹Ρ-פϥƥʸ̤ᤵ롣ä[-]ϡȤɤޤϡ-ɤޤϡȤɡ
*3 UnicodeϰϤǻꤹΤ[-]ǤϤޤ
*4 UnicodeץȤϻȤޤ

ȥå   Խ ʬ Хåå ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2019-11-15 () 09:15:14