{"data":[{"app":"95588","dataId":"BxVimUwY5Y5ucI1DfZvhvC432eDJqtm3","identify":"sms","data":"{\"account_name1\":\"工商银行储蓄卡($1)\",\"shopRemark\":\"$3$4\",\"account_name2\":\"\",\"auto\":\"0\",\"regular_app\":\"95588\",\"identify\":\"sms\",\"regex_input\":\"您尾号(\\\\d{4})卡(.*)(工商|手机)银行收入((.*))(.*)元,余额(.*)元。【工商银行】\",\"fee\":\"\",\"shopName\":\"工商银行\",\"type\":\"1\",\"version\":2,\"dataId\":\"BxVimUwY5Y5ucI1DfZvhvC432eDJqtm3\",\"money\":\"$4$5\",\"regular_name\":\"【工商银行储蓄卡】收入\",\"str_input\":\"您尾号8464卡29日13:39工商银行收入(报销)269917.26元,余额587960.27元。【工商银行】\",\"id\":\"51\",\"time\":\"$2\",\"regular_remark\":\"编写:Ankio\"}","use":1,"name":"【工商银行储蓄卡】收入","remark":"编写:Ankio","id":51,"sort":6,"version":"2","regular":";try{pattern=/您尾号(\\d{4})卡(.*)(工商|手机)银行收入((.*))(.*)元,余额(.*)元。【工商银行】/;if(pattern.test(a)){var array=pattern.exec(a);var remark='$3$4',account='工商银行储蓄卡($1)',type='1',money='$4$5',shopName='工商银行',account2='',fee='',time='$2';for(var i=array.length-1;i>=1;i--){var rep=\"$\"+i.toString();var repStr=array[i];remark=remark.replace(rep,repStr);account=account.replace(rep,repStr);type=type.replace(rep,repStr);money=money.replace(rep,repStr);shopName=shopName.replace(rep,repStr);account2=account2.replace(rep,repStr);fee=fee.replace(rep,repStr);time=time.replace(rep,repStr)}return remark+'##'+account+'##'+type+'##'+money+'##'+account2+'##'+shopName+'##'+fee+'##'+time+'##0'}}catch(e){console.log(e)};"}],"from":"sms","id":"BxVimUwY5Y5ucI1DfZvhvC432eDJqtm3","version":"2"}
Update Log/更新日志
优化适配
Data/数据
{"data":[{"app":"95588","dataId":"BxVimUwY5Y5ucI1DfZvhvC432eDJqtm3","identify":"sms","data":"{\"account_name1\":\"工商银行储蓄卡($1)\",\"shopRemark\":\"$3$4\",\"account_name2\":\"\",\"auto\":\"0\",\"regular_app\":\"95588\",\"identify\":\"sms\",\"regex_input\":\"您尾号(\\\\d{4})卡(.*)(工商|手机)银行收入((.*))(.*)元,余额(.*)元。【工商银行】\",\"fee\":\"\",\"shopName\":\"工商银行\",\"type\":\"1\",\"version\":2,\"dataId\":\"BxVimUwY5Y5ucI1DfZvhvC432eDJqtm3\",\"money\":\"$4$5\",\"regular_name\":\"【工商银行储蓄卡】收入\",\"str_input\":\"您尾号8464卡29日13:39工商银行收入(报销)269917.26元,余额587960.27元。【工商银行】\",\"id\":\"51\",\"time\":\"$2\",\"regular_remark\":\"编写:Ankio\"}","use":1,"name":"【工商银行储蓄卡】收入","remark":"编写:Ankio","id":51,"sort":6,"version":"2","regular":";try{pattern=/您尾号(\\d{4})卡(.*)(工商|手机)银行收入((.*))(.*)元,余额(.*)元。【工商银行】/;if(pattern.test(a)){var array=pattern.exec(a);var remark='$3$4',account='工商银行储蓄卡($1)',type='1',money='$4$5',shopName='工商银行',account2='',fee='',time='$2';for(var i=array.length-1;i>=1;i--){var rep=\"$\"+i.toString();var repStr=array[i];remark=remark.replace(rep,repStr);account=account.replace(rep,repStr);type=type.replace(rep,repStr);money=money.replace(rep,repStr);shopName=shopName.replace(rep,repStr);account2=account2.replace(rep,repStr);fee=fee.replace(rep,repStr);time=time.replace(rep,repStr)}return remark+'##'+account+'##'+type+'##'+money+'##'+account2+'##'+shopName+'##'+fee+'##'+time+'##0'}}catch(e){console.log(e)};"}],"from":"sms","id":"BxVimUwY5Y5ucI1DfZvhvC432eDJqtm3","version":"2"}