老天尊的死期
2017年7月27日 星期四
javascript 正則批配取內容(同PHP的 preg_match_all)
https://stackoverflow.com/questions/3291289/preg-match-in-javascript
使用()取出匹配的內容
ex.
?
1
2
3
var
text =
'||||||03'
;
var
matches = text.match(/\|\|\|\|\|\|(\d{2})/);
console.log(matches[1]);
// 03
b
(
\d{2}
)
括號() 在這邊非常好用
2017年7月22日 星期六
Google Driver 下載發生noncesigner錯誤
https://superuser.com/questions/836345/why-is-my-chrome-failing-to-download-some-files
解法:
google chrome
ctrl + shift + del
清除
快取圖片和檔案
和 Cookie(網站需要重新登陸)
重開chrome登陸google drive,即可下載
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)