æè³å¯¾å¹æã®æ¥µãã¦é«ããããã°ã©ã ãªãã¦åãããªã人ã®ããã®ãåç´ä½æ¥èªååãå ¥é
- ãã®Tipsã®æ¦è¦
 ãã®Tipsã§ã¯ãããã¹ãããå¼·åã«èªåçã«æä½ããæ¹æ³ããå¾ããã¾ãã
 èªååã¨ãã£ã¦ããããã°ã©ãã³ã°è¨èªã«ç¿çããã®ã¯å¤§å¤ã§ãã
ããã§ãããã°ã©ãã³ã°ã»ã©ãç¿çãå©ç¨ã«è² è·ãæãããããã¤å¿ç¨ç¯å²ãåºããæ£è¦è¡¨ç¾ãã¨è¨ãããæ¸å¼ã¨ãããã¹ãã¨ãã£ã¿ãªã©ã«ä»å±ã®ãç½®æãæ©è½ãçµã¿åããããã®ã解説ãã¾ããÂ
Â
Â
- å ·ä½çã«ã§ããããã«ãªããã¨
ãã¨ãã°ããããããæç« ãããã¹ãã¨ãã£ã¿ã«ã³ãã¼&ãã¼ã¹ãããããå¤ãªæ¹è¡ãããããå ¥ã£ã¦ããã®ã§ãæ¹è¡ãæåã§æ¶ãä½æ¥ãããããããªãã¨ãã
ã¨ã
ããã¯ããã飯ã御飯ãã´ãã³ãã¨ãããããªæ¸ãæ¹ã§æ¸ããã¦ããããã¯ããããå ¨é¨ãã飯ãã¨ãã表è¨ã«çµ±ä¸ããã
ã¨ã
ãSkypeããã³ããããããçºè¨è åããã£ã±ãã¤ãã¦ãæ¶ãã®ã大å¤â¥ãã§ããçºè¨æå»ãéãããä¸çç¸ã§ã¯ãããªã...ãã
ã¨ã
ãã¦ã§ããµã¤ããã¤ãã£ã¦ããããç»åãã¡ã¤ã«ã®ãã©ã«ãåãå¤ããã®ã§ã"/img"ã¨æ¸ããã¦ãããã®ããã¹ã¦ã"/image"ã¨ããæååã«ç½®ãæããããæåã§1000ç®æããã®ãã¨æãã¨ãã£ã¨ãããããã©ãå°ã®æã«æ¸ããã¦ããimgã¯å¤ãã¦ã¯ãããªã...ãã
ã¨ã
Â
ããã«ã¯âãããªãªã¹ãã®Â
---------------Â
æ¥ä» éé¡ å
容
1220 100 ã¸ã¥ã¼ã¹
1221 180 ã³ã¼ãã¼
1222 260 交éè²»
1223 1000 åé
1224 18000 ãã¬ã¼ã³ãÂ
---------------Â
ãæ¥ä»ãã®è¡¨è¨ãâãããªãµãã«å¤ãããÂ
---------------
æ¥ä» éé¡ å
容
12/20 100 ã¸ã¥ã¼ã¹
12/21 180 ã³ã¼ãã¼
12/22 260 交éè²»
12/23 1000 åé
12/24 18000 ãã¬ã¼ã³ã
---------------Â
ã¨ãã
ãããããã¨ãã©ã¯ã¡ãã«ã§ããããã«ãªãã¾ããã«ã³ã¿ã³ã«ã³ã¿ã³âª
Â
- æ£è¦è¡¨ç¾ã使ãå ´åã¨ãæåãåãªãããã¹ãã¨ãã£ã¿ã®ãç½®æãæ©è½ã使ãå ´åã®å·®ç°
ä¾ãã°æå¾ã®æ¥ä»ã®è¡¨è¨å¤æ´ã§ã¯ãä»åã¯5åãªã®ã§ã"/"ãæåã§å ¥ãã¦ãããã¨ãä¸å¯è½ã§ã¯ããã¾ãããããã®æ¥ä»ã100åã並ãã§ãã¦ã¯ãã¨ã¦ãããæ°ã«ãªãã¾ãããÂ
ãã¨ãã£ã¦ãæ®éã®Wordãªã©ã«ãããç½®æãæ©è½ã§ã¯ãæ¯æ¥æ¥ä»ãéããããããããã¾ããããã¡ããä¸ã®ä¾ã§ã¯ã12æã ããªã®ã§ã"12"ã"12/"ã«ç½®ãæããã¨ããæãããã¾ãããéé¡ã«12ãå«ããã®ãããã°ã¢ã¦ãã§ãã
ãããã£ããã¡ãã£ã¨ç¹æ®ãªè¡¨è¨å¤æ´ãç°¡åã«è¡ããã®ãæ£è¦è¡¨ç¾ï¼ç½®ææ©è½ã§ããÂ
Â
ãããã£ããåç´ã ããã©ç½®æ1çºã§ä½æ¥ã§ããããã§ã¯ãªãåç´ä½æ¥ããå¼·åã«èªååããæ¹æ³ã«èå³ãããããã¯ãç¶ããã©ããã
Â
Â
- äºåæºåï¼æ£è¦è¡¨ç¾ã®ç°å¢ãæ´åãã
ã¾ããæ£è¦è¡¨ç¾ãã«å¯¾å¿ãããç½®ææ©è½ããæã¤ãããã¹ãã¨ãã£ã¿ãå¿ è¦ã§ãããã¨ãã°ãç§ä¸¸ã¨ãã£ã¿ããªã©ãããããã§ããÂ
Â
以ä¸ãã¨ãã£ã¿(ã¡ãã£ã¨Dreamweaverã¨ãã§ã¯åä½ãéããMicrosoft Wordã§ã¯ããªãåä½ãéã)ã«ãã£ã¦è²ã ã¨å¯¾å¿ãã¦ããæ¸å¼ã«å·®ç°ããã£ãããã¡ãã£ã¨ç¹æ®ãªã«ã¼ã«ããã£ããããã®ã§ãããä»åã¯ç§ä¸¸æºæ ã§ãè¯ã使ããããªãã®ã«éå®ãã¦è©±ãé²ãã¾ããÂ
Macã®ããã¯ãmiã¨ãcodaãªã©ãããã®ããªã
Â
ããµã«ã«ããããæ£è¦è¡¨ç¾å ¥éããªã©ãä½µãã¦åç §ãã¦é ãã¾ãã¨ãç解ããããããã¨æãã¾ããÂ
Â
Â
- æ£è¦è¡¨ç¾ã¨ã¯ï¼--ã¡ã¿æåã®å°å ¥Â
æ£è¦è¡¨ç¾ã§ã¯ãæåãããæ½è±¡çã«ãæãããã¨ã§ãæè»ã«æç« ã®æ¤ç´¢ãç½®æãå¯è½ã«ãã¾ããÂ
æåãæ½è±¡çã«æãããã¨ã¯ãä¾ãã°å ·ä½çãªæ°åã§ããã0ã1ãæå®ããã®ã§ã¯ãªããã\d(åè§ã®åï¿¥ãã¼ã¯ã«ãåè§ã®d)ãã¨æ¸ããã¨ã§ã0,1,2...,9ã®ãããããã表ãã¨ãããã¨ã§ãã
Â
ããã«ãã£ã¦ãä¾ãã°12/01/03ãã11/05/25ãã85/08/11ããã\d\d/\d\d/\d\dãã¨è¡¨ç¾ãããã¨ãã§ãã¾ãã
Â
以ä¸ãã¡ã¿æå(è¶ æå)ã®ä¾ã示ãã¾ãã
.(ããªãªã1ã¤)ã§ããä»»æã®ä¸æåãã表ãã¾ãã
\d ããã㯠[0-9]ã§ãæ°å1æåã表ãã¾ãã
[a-z]ã§ãã¢ã«ãã¡ããã1æåã表ãã¾ãã
Â
ä¾ãã°ã
æ¤ç´¢ã¯ã¼ãï¼..ã(âããªãªã2ã¤+ã)Â
ç½®æã¯ã¼ãï¼ããã
ã§ç½®æããã¨Â
-------------
ããã
ããã
ããã
ã¿ã©ã
ããã
ããã
------------Â
âã®ãããªãªã¹ããÂ
-------------
ããã
ããã
ããã
ã¿ã©ã
ããã
ããã
------------Â
ã®ããã«ãç½®æããã¾ããÂ
Â
Â
- ã¡ã¿æåï¼ç¹°ãè¿ãã®*, +, ?, {n,m}Â
æ½è±¡çã«æç« ãæããã«ã¯ãããã«ãç¹°ãè¿ããã§ãããããã¨ä¾¿å©ã§ããç¹°ãè¿ãã«ã¯4種é¡ã®æ¹æ³ãããã¾ãã
*(ã¢ã¹ã¿ãªã¹ã¯)ã§ãç´åã®æåã®0å以ä¸ã®ç¹°ãè¿ãã表ç¾ãã¾ãã
+ã§ãç´åã®æåã®1å以ä¸ã®ç¹°ãè¿ãã表ç¾ãã¾ããä¾ï¼ãã+ãâããããããã...
?ã§ãç´åã®æåããã£ã¦ããªãã¦ããããã¨ã表ç¾ãã¾ããä¾ï¼ãµã¼ãã¼? âãµã¼ãã¼ or ãµã¼ã
{n,m}ã§ãnå以ä¸må以ä¸ã®ç¹°ãè¿ãã表ç¾ãã¾ãã{n}ã§ã¡ããã©nåã®ç¹°ãè¿ãã表ç¾ãã¾ããÂ
Â
ãã¨ãã°ãÂ
[0-9]{4}ã¨æ¸ãã¨ã0000,0123,1234,3513,7777ãªã©ã4æ¡ã®æ°åãããããã¾ãã
ç½®æå
ï¼[0-9]{4}Â
ç½®æå¾ï¼â â
ã¨æ¸ã㨠Â
---------------
æ¥ä» éé¡ å
容
1220 100 ã¸ã¥ã¼ã¹
1221 180 ã³ã¼ãã¼
1222 260 交éè²»
1223 1000 åé
1224 18000 ãã¬ã¼ã³ã
---------------Â
âã®ãããªè¡¨ãÂ
---------------
æ¥ä» éé¡ å
容
â â
  100 ã¸ã¥ã¼ã¹
â â
  180 ã³ã¼ãã¼
â â
  260 交éè²»
â â
  â â
åé
â â
 â â
0 ãã¬ã¼ã³ã
---------------Â
ãã®ããã«ç½®ãæãããã¾ããæ°å4æ¡ã§ããããããããæå¾ã®2è¡ã§ã¯ãéé¡ããåå¿ãã¦ãã¾ã£ã¦ããã®ããã¤ã³ãã§ãã
Â
Â
- æ¹è¡ãã¿ããªã©ç¹æ®æå\n,\t,^,$Â
æ¹è¡ããã¿ãåºåããªã©ã表ç¾ããããã®ç¹æ®ãªè¨å·ãå²ãå½ã¦ããã¦ãã¾ãã (次ã®2ã¤ã¯Cè¨èªãªã©ã§ãããªãã¿ã§ãã)Â
æ¹è¡ï¼\n
ã¿ãåºåãï¼\t
æã®é ï¼^
ææ«ï¼$Â
 ãã¨ãã°Â
^1223\tÂ
ã§æ¤ç´¢ããã¨ãæé ããã«1223ããã£ã¦ãç´å¾ã«ã¿ããã¤ãã¦ãããã®ã®ã¿ããããããã¨ãããã¨ã«ãªãã¾ããÂ
Â
ã¾ãã
æ¤ç´¢ï¼\n\n
ç½®æï¼\n
ã§ç½®æãè¡ãã¨ãæ¹è¡ã2ã¤å
¥ã£ã¦ãããã®ãã1ã¤ã«ã¾ã¨ããäºãã§ããããÂ
Â
ãããªãµãâãã«Â
---------------Â
ä¸è¡ç®ããã¹ãÂ
Â
äºè¡ç®ããã¹ãÂ
Â
ä¸è¡ç®ããã¹ãÂ
Â
åè¡ç®ããã¹ãÂ
---------------Â
æ¹è¡ãããããå ¥ã£ã¦ããããã¹ããÂ
ãããªãµãâãã«Â
---------------
ä¸è¡ç®ããã¹ã
äºè¡ç®ããã¹ã
ä¸è¡ç®ããã¹ã
åè¡ç®ããã¹ã
---------------Â
æ¹è¡ãè©°ãããã¨ãã§ãã¾ããÂ
ã¡ãªã¿ã«ãããã
æ¤ç´¢ï¼\n
ç½®æï¼ (ç½®æå¾ã¯ç¡ã)
ã§ç½®ãæããã¨ãÂ
 --------------- Â
ä¸è¡ç®ããã¹ãäºè¡ç®ããã¹ãä¸è¡ç®ããã¹ãåè¡ç®ããã¹ã
---------------Â
ã®ããã«ãæç« ããã²ã¨ã¤ãæ¹è¡ããªããªã£ã¦ãã¾ãã¾ãã
Â
ã¾ãã
æ¤ç´¢ï¼\t
ç½®æï¼,Â
ã®ããã«ããã¨ãã¿ãåºåãã®ãã¡ã¤ã«ããã«ã³ãåºåãã«å¤ããäºãã§ãã¾ããÂ
Â
- ã°ã«ã¼ãå+ã¿ã°:(), \1, \2, \3Â
æå¾ã«ããã¡ããé常ã«å¼·åãªã®ã§ãã()ã«ããã°ã«ã¼ãåã¨ã\1, \2, \3ã«ããã¿ã°ã¥ãã§ãã
Â
ä¾ãã°Â
---------------
æ¥ä» éé¡ å
容
1220 100 ã¸ã¥ã¼ã¹
1221 180 ã³ã¼ãã¼
1222 260 交éè²»
1223 1000 åé
1224 18000 ãã¬ã¼ã³ã
---------------Â
æ¥ä»ã®è¡¨è¨ãâãããªãµãã«å¤ããã
---------------
æ¥ä» éé¡ å
容
12/20 100 ã¸ã¥ã¼ã¹
12/21 180 ã³ã¼ãã¼
12/22 260 交éè²»
12/23 1000 åé
12/24 18000 ãã¬ã¼ã³ãÂ
---------------Â
ã¨ããä¾ã§ãä½æ¦ããã¦ã¦ã¿ã¾ããããÂ
Â
ä½æ¦ ï¼
1220, 1221ãªã©ã®æ¥ä»ãã12ã¨20, 12ã¨21ã¨ããããã«2æ¡ã¥ã¤ãã©ãã¦ããããã®éã«/(ã¹ã©ãã·ã¥)ãå ¥ããäºãã§ããã°ãããã¨ãããã¨ã«ãªãã¾ããÂ
Â
[0-9]{2}ã¯ã01,02,11,13,99ãªã©ã2æ¡ã®æ°å¤ã表ãã®ã§ãããããã()ã§ãããã¨
([0-9]{2})ã¨ããã°ã«ã¼ãã«ãªãã¾ããÂ
Â
ããã«ããã¾ã4æ¡ã®æ°åã2æ¡ã¥ã¤æ¬²ããã®ã§
([0-9]{2})([0-9]{2})
ã¨ããã¨ã1220ã1221ã«2æ¡ã¥ã¤ããããããã¨ã«ãªãã¾ããÂ
Â
ããããããã§ã¯ã12/23ã®æã®ãåéé¡ã®1000åã«ãããããã¦ãã¾ãã¾ãã
ããã§ãæ¥ä»ãæ¹è¡ã®ç´å¾(ãããã¯æé )ã«ãã¦ãããã¨ã«æ³¨ç®ãã¦æ¹è¡ã®ç¹æ®æå\nã¨çµã¿åãããã¨Â
\n([0-9]{2})([0-9]{2})ï¼æ¹è¡å¾ããã«åå¨ãã2æ¡+2æ¡ã®æ°å¤ãã«ãããããäºã«ãªãã¾ãã
Â
ããã§ãã¿ã°ã¥ãã¨ããæ¹æ³ãç´¹ä»ãã¾ããÂ
å®ã¯ãæ¤ç´¢ã¯ã¼ããã(AAA)(BBB)(CCC)(DEF)(GHI)(012)ã¨ããããã«ããããåºåãã¨ãÂ
æé ããé çªã«Â
(AAA)ã\1
(BBB)ã\2
(CCC)ã\3Â
ã¨ããããã«ãé çªã«ã¿ã°ã¥ãããäºãã§ãã¾ãã è¦ã¯ã\1, \2, \3ãæ¤ç´¢èªã®ãã¼ã¯ã¼ãã¨ãã¦ä½¿ãã°ãnçªç®ã®()ã®ä¸èº«ãä¿åã§ãå¼ã³åºãããã¨ãããã¨ã§ãã
Â
ãã®ããã
\n([0-9]{2})([0-9]{2})
ã§ã¯ãÂ
æåã®2æ¡ã®æ°å(1224ã®12é¨å)ã¯\1ã§ã
æå¾ã®2æ¡ã®æ°å(1224ã®24é¨å)ã¯\2ã§ã
表ããã¨ãã§ããã¨è¨ãäºã«ãªãã¾ããÂ
Â
å¾ã£ã¦
æ¤ç´¢ã¯ã¼ãï¼\n([0-9]{2})([0-9]{2})
ç½®æã¯ã¼ãï¼\n\1â \2Â
ã¨æ¸ãã¨Â
1220
1221
1222Â
ãªã©ãÂ
12â 20
12â 21
12â 22Â
ã®ããã«ç½®ãæãããã¾ããÂ
Â
å½åã®æ¬²ããã£ãçµæã¯
æ¤ç´¢ã¯ã¼ãï¼\n([0-9]{2})([0-9]{2})
ç½®æã¯ã¼ãï¼\n\1/\2
ã®ããã«å
¥åããã¨Â
Â
ãã®Tabåºåãã®ãªã¹ããÂ
Â
---------------Â
æ¥ä» éé¡ å
容Â
1220 100 ã¸ã¥ã¼ã¹Â
1221 180 ã³ã¼ãã¼Â
1222 260 交éè²»Â
1223 1000 åéÂ
1224 18000 ãã¬ã¼ã³ãÂ
---------------Â
æ¥ä»ã®è¡¨è¨ãâãããªãµãã«
---------------Â
æ¥ä» éé¡ å
容Â
12/20 100 ã¸ã¥ã¼ã¹Â
12/21 180 ã³ã¼ãã¼Â
12/22 260 交éè²»Â
12/23 1000 åéÂ
12/24 18000 ãã¬ã¼ã³ãÂ
---------------Â
 å¤ãããã¨ãã§ãã¾ãã
(ã¡ãªã¿ã«Dreamweaverãªã©ã§ã¯\1, \2ã®ä»£ããã«$1, $2ã§ä½¿ãã¾ãã)Â
Â
ä»ã«ã
ãã¡ãã®ãã¼ã¸ãªã©ã«ã詳ããè¨æ³ãè¼ã£ã¦ãã¾ããÂ
Â
Â
- ããã«ãããã«ããã¯ãã®è¨é²ã¨ä¿åï¼
ç§ä¸¸ã§ã¯ããããã£ãå¦çãé£ç¶çã«è¡ããã®ãããã¯ãã®è¨é²âä¿åãã§ç°¡åãªã¹ã¯ãªããã¨ãã¦ä¿åãããã¨ãã§ãã¾ããÂ
å°ãåå¼·ããã°ãã¹ã¯ãªãããç·¨éããäºãã§ããããã«ãªããããè¶ å¼·åãªèªååãå¯è½ã«ãªãã¾ãã
Â
- ã¾ã¨ã
- æ£è¦è¡¨ç¾+ç½®æã使ãã¨ãå¼·åã«æç« ã®æ´å½¢ä½æ¥ãªã©ãã©ã¯ã«ãªãã
- ãç§ä¸¸ã¨ãã£ã¿(Win)ãã mi / coda (Mac)ããããããã
- .,\d,[0-9]ãªã©ã¡ã¿æåã§æ°åãæåãæ½è±¡çã«æãã¦ã¿ãã
- *, +, ?, {n,m} ã§ç¹°ãè¿ãã«å¼·ããªãã
- \n, \tãªã©ç¹æ®æåã§ãæ®æ®µã¯æ¤ç´¢/ç½®æã§ããªãæ¹è¡ãã¿ããæãã¦ã¿ãã
- (), \1, \2 ãªã©ã§ãã°ã«ã¼ãåã¨ã¿ã°ã¥ãã使ãããªãã
- ãã¯ããè¨é²ããã¨ãå¼·åãªã®ã§å¿ç¨ç·¨ã¯ãã¡ãã
Â
ã¡ãªã¿ã«ãã²ã¨ã¤ã ãã
ãã®æ£è¦è¡¨ç¾ã ã¯ããã«ããã°ã©ãã³ã°ã§ã¯ãªãã¨è¨ãã¾ãããã宣è¨åè¨èªãã¨ãããå¦ç対象ã®æ§è³ªãè¨è¿°ãããã¨ã§å¦çãããä¸ç¨®ã®ããã°ã©ãã³ã°ã§ãã
Â
ã»ãã®å°ãã®å¦ã¶ã³ã¹ã(ç¹æ®ãªæåãå¹¾ã¤ãè¦ãã)ãã¨ã¨ãæ½è±¡çã«æç« ãæãããã¨ã«ç¿çãã(é ãéããè¨ç·´ã«ããªãã¾ã)ãã¨ã§ãåç´ä½æ¥ãåçã«å¹çåã§ãã¾ãã
Â
ãã²ã試ãã¦ã¿ã¦ãã ããã
ä»å¾ããå½¹ã«ç«ã¤æ
å ±ãæ´æ°ãã¦ããã¾ãï¼
æ¬Blogãâãã¡ããããã²ãè³¼èªãï¼
 Â
ä½µãã¦èªã¿ããï¼
Â
論理的に考えるとはどういうことか|ロジカルシンキングことはじめ