Skip to content

alter table 修改字符集用convert to - #295

Merged
martianzhang merged 1 commit into
XiaoMi:devfrom
greatdba:patch-2
Apr 6, 2022
Merged

alter table 修改字符集用convert to#295
martianzhang merged 1 commit into
XiaoMi:devfrom
greatdba:patch-2

Conversation

@greatdba

@greatdba greatdba commented Jan 26, 2022

Copy link
Copy Markdown
Contributor

convert to匹配模式优化,允许两个单词中间有多个空格,如CONVERT_______TO

Code changes

convertReg, _ := regexp.Compile("convert to")
convertReg, _ := regexp.Compile("convert\b\s+to")

convert to匹配模式优化,允许两个单词中间有多个空格
@martianzhang
martianzhang merged commit e33c23b into XiaoMi:dev Apr 6, 2022
@martianzhang

Copy link
Copy Markdown
Contributor

That's nice. Thanks! @greatdba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants