mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-25 01:48:38 -06:00
Fix regex for Python 3.7
This commit is contained in:
parent
1291fc4187
commit
7461e76606
@ -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,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user