我找到了(?i)(?<!a|e|i|o|u)(\w)led
并替换为$1lled
单词被取消,满足首字母缩写
结果:
cancelled correct
fulfilled correct
initialled correct
parallelled incorrect
我需要对整个单词进行并行检查,以便它产生并行的结果,而不仅仅是“如果在led之前有元音”。我已经尝试了各种组合,但无法正常工作。
我还需要用大写字母覆盖单词,即。已取消。
答案 0 :(得分:0)
为并行指定异常:
SELECT student_branch.level_id,
COUNT(CASE WHEN account.status = 'pending' THEN 1 ELSE NULL END) AS 'pending',
COUNT(CASE WHEN account.status = 'paid' THEN 1 ELSE NULL END) AS 'paid',
COUNT(*) AS total
FROM student LEFT JOIN account ON student.student_id=account.student_id
LEFT JOIN student_branch ON student.student_id=student_branch.student_id
WHERE student_branch.level_id!='' AND student.status = 'ACTIVE'
AND student_branch.branch_id = '$data' AND account.fee_active = 1
GROUP BY student_branch.level_id
答案 1 :(得分:-1)
如果我能够正确地猜测出您要完成的工作,则错误是您正在检查{
"Message": "Successfully done",
"statuscode ": 200,
"employeeList ": [
"R.0030238.001": [{
"last_changed_date": "2018-10-31 22:41:48.0",
"allocation_end_date": "2018-10-31",
"project_id": "R.0030238.001",
"allocation_start_date": "2018-10-01",
"parent_key": "005056B09B381ED8B6A1DD79951F40CB",
"db_key": "005056AC0ABA1ED8B2AE6E73DFFF80D1",
"username": "VIJAYK11",
"emp_id": "127454"
},
{
"last_changed_date": "2018-10-31 19:14:26.0",
"allocation_end_date": "2018-10-31",
"project_id": "R.0030238.001",
"allocation_start_date": "2018-10-01",
"parent_key": "005056AC0DB01ED8B1A267DE3CCAA0CF",
"db_key": "005056AC0DB01ED8B1A267DE3CCA80CF",
"username": "KISHORD4",
"emp_id": "129208"
},
{
"last_changed_date": "2018-10-31 18:50:23.0",
"allocation_end_date": "2018-12-31",
"project_id": "R.0030238.001",
"allocation_start_date": "2018-10-01",
"parent_key": "005056AC0DB01ED8B1A267DE3CCBA0CF",
"db_key": "005056AC0DB01ED8B1A267DE3CCB80CF",
"username": "VARSHAM2",
"emp_id": "133079"
},
{
"last_changed_date": "2018-10-31 19:07:48.0",
"allocation_end_date": "2018-12-31",
"project_id": "R.0030238.001",
"allocation_start_date": "2018-10-01",
"parent_key": "005056AC0DB01ED8B1A267DE3CCCA0CF",
"db_key": "005056AC0DB01ED8B1A267DE3CCC80CF",
"username": "DEEPAKR3",
"emp_id": "122874"
},
{
"last_changed_date": "2018-10-31 19:11:18.0",
"allocation_end_date": "2018-10-31",
"project_id": "R.0030238.001",
"allocation_start_date": "2018-10-01",
"parent_key": "005056AC0DB01ED8B1A267DE3CCDA0CF",
"db_key": "005056AC0DB01ED8B1A267DE3CCD80CF",
"username": "ROYO",
"emp_id": "127003"
},
{
"last_changed_date": "2018-10-31 22:44:06.0",
"allocation_end_date": "2018-12-31",
"project_id": "R.0030238.001",
"allocation_start_date": "2018-12-01",
"parent_key": "005056B09B381ED8B79F6701675900CC",
"db_key": "005056B09B381ED8B79F52D90FA5E0CC",
"username": "ABHIJEETB4",
"emp_id": "126933"
},
{
"last_changed_date": "2018-10-31 22:45:12.0",
"allocation_end_date": "2018-12-30",
"project_id": "R.0030238.001",
"allocation_start_date": "2018-10-31",
"parent_key": "005056B09B381ED8B79F5F791EE140CC",
"db_key": "005056B09B381ED8B79F5F791EE120CC",
"username": "MAHESHA2",
"emp_id": "120049"
},
{
"last_changed_date": "2018-10-31 22:45:12.0",
"allocation_end_date": "2018-12-30",
"project_id": "R.0030238.001",
"allocation_start_date": "2018-10-31",
"parent_key": "005056B09B381ED8B79F6701675900CC",
"db_key": "005056B09B381ED8B79F5F791EE120CC",
"username": "MOHIK",
"emp_id": "139365"
}
]
"R.0030238.002": [{
"last_changed_date": "2018-10-31 22:45:12.0",
"allocation_end_date": "2018-12-30",
"project_id": "R.0030238.002",
"allocation_start_date": "2018-10-31",
"parent_key": "005056B09B381ED8B79F6701675900CD",
"db_key": "005056B09B381ED8B79F5F791EE120CC",
"username": "MOHIK",
"emp_id": "139365"
}]
"R.0030238.003": [{
"last_changed_date": "2018-10-31 22:45:12.0",
"allocation_end_date": "2018-12-26",
"project_id": "R.0030238.003",
"allocation_start_date": "2018-10-31",
"parent_key": "005056B09B381ED8B79F6701675900CF",
"db_key": "005056B09B381ED8B79F5F791EE120CC",
"username": "MOHIK",
"emp_id": "139365"
}]
]
之前的字符,而不是\w
本身的值。试试这个:
\w
还请注意,如果所有替代字符都恰好一个字符长,那么如何使用字符类而不是替代列表。