- 2026年07月10日
- 星期五
我有一个非常有趣的任务,我不知道如何实现.我需要在数据库表中存储许多正则表达式,并且需要能够找到它们与给定字符串匹配的内容.例如:id | regexp —|————- 1 | ^hello world$ 2 | ^I have [0-9] flowers 3 | ^some other regexp$ 4 | ^and
我有一个非常有趣的任务,我不知道如何实现.我需要在数据库表中存储许多正则表达式,并且需要能够找到它们与给定字符串匹配的内容.例如:id | regexp —|————- 1 | ^hello world$ 2 | ^I have [0-9] flowers 3 | ^some other regexp$ 4 | ^and