The last thing you will do using the object map is convert a property
value to a regular expression. In this case, the regular expression provides
more flexibility in the object recognition.
About this task
We just saw how the script passes completely on ClassicsB. That was
the goal because the changes made to the application in ClassicsB are correct.
So the script is now in the state you want it to be in going forward. Now
when you play the script back against ClassicsA, it fails because of the changes
made earlier. You might want to allow more than one variant of an object to
pass. You might have a dynamic object or have several versions of your application
with slightly different versions of an object, in which both are correct.
You can use a regular expression to allow more than one version of a property
value, such as text, to accommodate this scenario.