1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fix regex for Python 3.7

This commit is contained in:
Jeremy Stretch
2020-07-15 16:19:30 -04:00
parent 1291fc4187
commit 7461e76606

View File

@@ -891,7 +891,7 @@ class ViewTestCases:
Rename multiple instances.
"""
rename_data = {
'find': '(.*)',
'find': '^(.*)$',
'replace': '\\1X', # Append an X to the original value
'use_regex': True,
}