Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat you can do with signing up
ã¯ããã«ï¼é£çªã¯è³ã«ãããããªãï¼ï¼ Rubyãã¯ãããå¤ãã®æ£è¦è¡¨ç¾ã¨ã³ã¸ã³ã§ã¯ ( ) ã使ã£ããã£ããã£ï¼ãããããæååã®ææï¼ããµãã¼ããã¦ãã¾ãã ãã£ããã£ã使ãã¨ãã£ããã£ããé¨åãé£çªã§åç §ãããã¨ãã§ãã¾ãã 以ä¸ã¯ "yyyy-mm-dd" å½¢å¼ã®æååã "yyyyå¹´mmæddæ¥" å½¢å¼ã«ç½®æããRubyã®ã³ã¼ãä¾ã§ãã s = '2016-05-08' # \1ã¨\2ã¨\3ããã£ããã£ããæååãé£çªã§åç §ãã¦ããé¨å puts s.gsub(/(\d+)-(\d+)-(\d+)/, '\1å¹´\2æ\3æ¥') # => 2016å¹´05æ08æ¥ ãã ãé£çªã使ãã¨æ°åãå¢ããã°å¢ããã»ã©ããã®çªå·ã¨æ ¼ç´ããã¦ããå 容ãè³å ã§ãããã³ã°ããã®ã大å¤ã«ãªãã¾ãã ã¾ããæ°åãå°ãªãã¦ãæ£è¦è¡¨ç¾ãè¤éã ã¨ããã® ( ) ã¯ä¸ä½ä½ããã£ããã£ãã¦ããã ããï¼ãã¨æ£è¦è¡¨ç¾ãä½
èªåãæ¥æ¬èªã§èª¿ã¹ãéãè¦ã¤ãããªãã£ãã 9=9ãã=ãã¨ããx=xãæºããæ£è¦è¡¨ç¾ã¯ (.)=\1 ã¨å¾æ¹åç §ã§è¡¨ããããã (ä»»æã®ä¸æå=å ã«ä½¿ã£ãä»»æã®ä¸æåã¨åãæå) ã§ã¯ã9=9ãå¼¾ãã¦ã9=8ãx=2ã®ã¿ããããããããå ´åã 左辺ã«åºãæå以å¤ãå³è¾ºã§ä½¿ãããã æ£è¦è¡¨ç¾ã®å¦å®ã¯[^å¦å®ãããæå]ãªã®ã§ã 左辺ã®å¾æ¹åç §ãå¦å®ããã (.)=[^\1] ãããããã¯æ£ããåããªãã£ãã çç±ã¯ä¸æã§ããããæåã¯ã©ã¹[]å ã§ã¯ã¡ã¿æåãä¸é¨ãé¤ãæ©è½ããªããã¨ã«ç±æ¥ããã®ãããããªãã ã§ã¯ã©ãããã æ±ãããã®ã¯ å ã«ä½¿ç¨ããä»»æã®æåå以å¤ã®ä»»æã®æåå æ£è¦è¡¨ç¾ã«ã¯åç´ãªANDæ¼ç®åããªããããããå¾æ¹åç §ã®å¦å®ãé£ãã è ã«è½ã¡ãªãããå¦å®å èªã¿ã使ãã¨ä¼¼ããããªãã¨ãã§ãããã ã ãªããç§ã¯æ£è¦è¡¨ç¾ã®å èªã¿ãå¾èªã¿ã¯ä½åº¦è§£èª¬ãèªãã§ãç解ã§ãã¦ããªãã éµå
Atom ã¯ãä»æ³¨ç®ã®ææ°ããã¹ãã¨ãã£ã¿ã§ããç§ã¯ããã®ã¨ãã£ã¿ãã½ããã¦ã§ã¢éçºã«ä½¿ç¨ãã¦ããã®ã§ããããªã¼ãã³ã½ã¼ã¹ã«ãªã£ã¦ããã®ã§ãå°ãã§ãè²¢ç®ã§ããã°ã¨Atomãæ±ããIssuesã«ã¤ãã¦æ¤è¨¼ãã¦ã¿ããã¨ã«ãã¾ãããç§ã¯ã ããå¥å¦ãªãã° ãè¦ã¤ãã¾ãããããã¯ãAtomã®ã¦ã¼ã¶ speter ãããã¹ãã1è¡æ¸ããè¡æ«ã§ Enter ãæ¼ããæã«èµ·ããã¾ãããæ°ããªè¡ãæ¸ããããã«ãªãã¾ã§ãAtomã¯30åãè¨ç®ãã¦ããã®ã§ããç§ã¯ããããªåç´ãã¤ãããããªãã¬ã¼ã·ã§ã³ãããã«ã§ããªããã¨ã«å¤§ããªè¡æãåããæ©éãã®åå ãæ¢ããã¨ã«ãã¾ããã æ¤ç´¢ ããããåé¡ã®ããã¹ãã§ãã vVar.Type().Name() == "" && vVar.Kind() == reflect.Ptr && vVar.Type().Elem().Name() == "" && vVar.Typ
ããã«ã¡ã¯ãããã«ã¦ã§ã¢éçºãã¼ã ã®éæ¨ã§ãã å æ¥ãã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãå¿çãè¿ããªããªããã©ãã«ã«ééãã¾ããã ä»åã¯ãã®æã®ãã©ãã«ã®åå ã¨å¯¾çã®é¡æ«ã«ã¤ãã¦ã話ãããã¨æãã¾ãã ç¾è±¡ ã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ãçªå¦å¿çãè¿ããªããªãã¾ããã ç¾è±¡ãçºçããã¢ããªã±ã¼ã·ã§ã³ãµã¼ãã¼ã®ã¹ã¿ãã¯ãã¬ã¼ã¹ãè¦ãã¨ãããã¹ã¬ããã®å é ãä¸è¨ã®ããã«ãªã£ã¦ãã¾ããã "qtp258153142-514386" prio=10 tid=0x00007f40b8dbf000 nid=0x7b4e runnable [0x00007f415ccb0000] java.lang.Thread.State: RUNNABLE at java.util.regex.Pattern$Loop.match(Pattern.java:4692) at java.util.regex.Pattern$G
2015å¹´11æ11æ¥ç´ççºå£² 2015å¹´11æ11æ¥é»åççºå£² å®®åç«ä¹ãè åå å¤ï¼224ãã¼ã¸ å®ä¾¡2,398åï¼æ¬ä½2,180åï¼ç¨10%ï¼ ISBN 978-4-7741-7740-3 Amazon 楽天ããã¯ã¹ 丸åã¸ã¥ã³ã¯å æ¸åº ã¨ããã·.com é»åç Gihyo Digital Publishing Amazon Kindle 楽天kobo honto æ¬æ¸ã®ãµãã¼ããã¼ã¸ãµã³ãã«ãã¡ã¤ã«ã®ãã¦ã³ãã¼ããæ£èª¤è¡¨ãªã© ãã®æ¬ã®æ¦è¦ ããã¹ãå¦çï¼æååå¦çï¼ã«ãããå¹ææ群ã®ãã¼ã«ãæ£è¦è¡¨ç¾ã 巨大ãªããã¹ããã¼ã¿ã®æ¤ç´¢/ç½®æãå¤æ/éè¨ãªã©ãè¡ãéï¼æ£è¦è¡¨ç¾ã使ãã¨ä½æ¥å¹çãæ ¼æ®µã«ä¸ããã¾ããæ¬æ¸ã¯ï¼æ£è¦è¡¨ç¾ã®ä»£è¡¨çãªã¡ã¿ãã£ã©ã¯ã¿ï¼Ruby/Perl/PHP/Java/JavaScriptçãã«ãã¼ããå¦çç³»ã¬ã¤ãï¼ç¥ã£ã¦ããããæ£è¦è¡¨ç¾ãã¿ã¼ã³ã®ä½ãæ¹ãããããã¿ã¼ã³
ããããªæåãããã«ãã¦ããã©ã¼ãã³ã¹ã«å¤§ããªéããçãããã¨ããã話 æ£è¦è¡¨ç¾ã¯ãç§ãã¡éçºè ããã¨ãããã¨ã«é§ä½¿ããåªæã®ãããªãã®ã§ãããç§ãã¡ã¯ãããã©ããªæãå·§ã¿ã«ä½¿ãããªãã¦ããã¨è¨ããã§ãããããæ£è¦è¡¨ç¾ã¯ç¹ç´°ã§ç²¾å¯ãªè¨èªã§ããå ¥å¿µãªæ éãã§è¨è¿°ãã¦ããã°ããã¦ãªã³ã°ã§ä¸ç¬ã«ãã¦å®ç§ãªã¹ãã©ã¤ã¯ãåããããªå¼·åãªããã¹ãã¨ãªãå¾ã¾ãã ããããæ£è¦è¡¨ç¾ãç²¾å¯ãã«æ¬ ããç¶æ ã§æãåºãããã¨ãããªããé ã£æããããããã¨ã¤ã¾ãããªããããã¹ãã®ä¸ãæ©ãããã¨ãããã®ãã¼ã«ã¯ããã¡ãªããã¦ãªã³ã°ã®ã¬ã¼ã³ã転ããããã³ã1ã¤ã2ã¤åãã ãã§çµãã£ã¦ãã¾ãã®ã§ãã ããã2ã¤ã®æ£è¦è¡¨ç¾ã®éãã¯ä½ãªã®ããä½ããã表ç¾ã¨æªã表ç¾ãåããã®ããæ£è¦è¡¨ç¾ã«ç´ æ´ãããåãä¸ããã¡ã«ããºã ãããã®æ稿ã§æããã¦ã¿ããã¨æãã¾ããå¹æçãªè¡¨ç¾ã¨ããã§ãªã表ç¾ã¨ã®å¤§ããªéãããã£ã¨åãã£ã¦ããããã¯ã
CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
ããæ£è¦è¡¨ç¾ã«å¯¾ãã¦ãç¹å®ã®æååãããããããã©ããããã§ãã¯ãããã¼ã«ããµã¤ãã¯æ²¢å±±ããã¾ãããæ£è¦è¡¨ç¾ãã®ãã®ãä½ãæå³ãã¦ããã®ããã©ããªæååãæå¾ ãã¦ããã®ãã解æã»è§£èªã»èª¬æãã¦ããããã¼ã«ããµã¤ãã£ã¦ãªããªãè¦ãªãæ°ããã¾ãã ä»äººã®æ¸ããæ£è¦è¡¨ç¾ãè¦ã¦ãããï¼ãã£ã¦ãªã£ããã¨ã¯ããã¾ãããï¼ ä¾ãã°ããã 1 ^[a-zA-Z0-9-_.]@([a-zA-Z0-9_-]+\.)+[a-zA-Z]{2,4}$ ããããããªãåããã¾ãããè¤éã«ãªã£ã¦ããã¨ã¤ãã⦠ãã¤ãã¯ãã¹ã¿ã¼ããããã©â¦ä»ã¯æ¥½ãããã ããæã£ã¦ã°ã°ã£ã¦ã¿ãã¨â¦ããã¾ããï¼ ããããã¡ãã Regexper http://www.regexper.com/ æ£è¦è¡¨ç¾ãå ¥åã㦠Display ãã¯ãªãã¯ããã¨ããã®æ£è¦è¡¨ç¾ã表ãå 容ãå³ã«ãã¦è¡¨ç¤ºãã¦ããã¾ãã ä¾ãã°å ç¨ã®æ£è¦è¡¨ç¾ã¯ãå½è¨äºã®ä¸çªä¸ã®
ãããªã¨ãã¨ãã£ã¿ä¸ã§æ£è¦è¡¨ç¾ãé§ä½¿ãã¦ã³ã¼ããçæããã£ã¦ãã¨ããã¾ã«ããã¾ãã ããã§ãã使ããã£ã¡ã«ã±ã¼ã¹ã¨ã¹ãã¼ã¯ã±ã¼ã¹ãç¸äºå¤æããããã®ãã¼ãã·ã¼ãã§ãã åä½ç¢ºèªã¯Sublime Text 3ã§åä½ç¢ºèªã ã¹ãã¼ã¯ã±ã¼ã¹ããã£ã¡ã«ã±ã¼ã¹ã«ãã å é ã¾ãã¯ã¢ã³ãã¼ã¹ã³ã¢ã«ç¶ã1æåããç½®æ対象ã«ãã¾ãã対象ã¨ãªãæåã¯$2ã§åç §ã§ããã®ã§ãããã\uã§å¤§æåã«å¤æã æ¤ç´¢æ¡ä»¶ - "(_|^)(.)" ç½®æ - "\u$2" ãã£ã¡ã«ã±ã¼ã¹ãã¹ãã¼ã¯ã±ã¼ã¹ã«ãã åç´ã«ã大æåããã¢ã³ãã¼ã¹ã³ã¢+å°æåãã«ç½®æã æ¤ç´¢æ¡ä»¶ - "([A-Z])" ç½®æ - "_\L$1" 使ãã©ããã¨ã JavaBeanããJavaBeanã¸é ç®ã移éããã·ãã¥ã¨ã¼ã·ã§ã³ã§ããããã åºæ¬çã«ã¯commonsã®BeanUtil使ãã£ã¦æããã©ãå¾®å¦ãªã¡ã½ããã®éãããåå¤æãªã©ãããã¨Bean
ããã @akane_neko Unicodeã®ããã¹ããperlãªã©ã§æ£è¦è¡¨ç¾ã§å¦çããå ´åä»»æã®ä¸æåã¯.ã§ãªã\Xã使ãã¹ããªãã§ããããã¤ã¾ãà ï¼\x{0061}\x{0300}ï¼ã¿ãããªæåã¨ãIVSã¨ããèæ ®ã(ããã¯å¤åãã®ãã®å çã«èãã¹ã@monokano ) 2014-07-11 11:53:46 ãã®ãã® @monokano @akane_neko ãããã\Xãç¥ããªãã£ãï¼ è©¦ãã¦ã¿ãã¨ç¢ºãã«çµåæåãå«ãã§ã¡ããã¨ããããã¾ããã ãGrapheme Clusterãã®ãã¹ã¦ã«ãããããããã§ã¯ãªãããã§ããã©ãã»ã¨ãã©åé¡ãªããããããã¯ã¤ã¤ï¼ 2014-07-11 12:23:09
5. My pretty Parrot (Cockatiel) å¯æçå°å¥§å§ Moshi-moshi ? My Parrot can say âHelloâ when the telephone rang. 6. å¦å¤ç Parrot ç®è¡æ é· ï®Parrot Assembler (PASM) PASM set I1, 33 set I2, 5 mod I3, I1, I2 if I3, REMA print "5 is an integer divisor of 33" branch DONE REMA: print "5 divides 33 with remainder " print I3 DONE: print "Â¥n" end 33÷5ï¼6ãä½ã2 ãè¨ç®ãã (5 into 33 is 6, remainder 2) 9. Perl 5 âHello, world!â pac
ããã°ã©ãã³ã°è¨èªå ã®æ£è¦è¡¨ç¾ãªãã©ã«ãæ¯ãéãã ãããªè°è«ã«ãã¾ãããªããåå ãã¦ã¾ãã ãã ãã©ã¡ããã®ç«å ´ã«ç«ã£ã¦æè·ãããã¨ããããã§ã¯ãªãã 話ãæ½è±¡åã¨ãããä¸è¬åãã¦åé¡ã®æ¬è³ªã«ãã¾ãã¾ãã ä»é±å§ãã«ãããã°ã©ãã³ã°è¨èªå ã«æ£è¦è¡¨ç¾ãªãã©ã«ãå¿ è¦ãã©ãããã¨ããè«äºãtwitterã®ä¸é¨ã§çãä¸ãã£ã¦ããã¾ãããç§å人ã®æè¦ã¨ãã¦ã¯ä»¥ä¸ã®çºè¨ã«éç´ããã¦ããã¾ãã æ£è¦è¡¨ç¾ãªãã©ã«ã®è°è«ãããã°ãã³ã°è¨èªã®è¯ããã©ãå®ç¾©ãããã«ãçµè«ã大ããä¾åããããè¨èªã®å®ç¾©ãæå°ã«ãããªãè¦ããªãããè¨è¿°ãæå°ã«ãããªãè¦ããæ´ã«è¨ãã¨æããããã¨èªã¿ãããã®å®ç¾©ã¨æ¯éã â MURAOKA Taro (@kaoriya) 2013, 12æ 18 ã¤ã¾ãè¨èªã®è¯ããªã©ãã¡ã¤ã³(âç¨é)ã§æ±ºã¾ãã®ã ããããã®è¨å®æ¬¡ç¬¬ã§çµè«ã¯ã©ã¡ãã«ã§ãã§ãã¦ãã¾ããã¨ããããã§ããã ã§ããã¾ã¦ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}