mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-24 01:38:47 +02:00
Fix regex for Python 3.7
This commit is contained in:
@@ -891,7 +891,7 @@ class ViewTestCases:
|
|||||||
Rename multiple instances.
|
Rename multiple instances.
|
||||||
"""
|
"""
|
||||||
rename_data = {
|
rename_data = {
|
||||||
'find': '(.*)',
|
'find': '^(.*)$',
|
||||||
'replace': '\\1X', # Append an X to the original value
|
'replace': '\\1X', # Append an X to the original value
|
||||||
'use_regex': True,
|
'use_regex': True,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user