re sub with r'\1' as dict value for replacement

后端 未结 0 1336
感动是毒
感动是毒 2020-12-30 08:56

I have a dictionnary such as:

OBJECT = {
r\'\\b(.+)(NA[Cc].+)\\b\':\'__@_OBJECT_@_\'+r\'\\1\'+r\'\\2\'+\'_@@__\',
r\'\\b([O]linked.+)\\b\':\'__@_OBJECT_@_\'+r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题