Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enhance regex in UIPath #39

Closed
beuaaa opened this issue Jun 8, 2022 · 1 comment
Closed

Enhance regex in UIPath #39

beuaaa opened this issue Jun 8, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@beuaaa
Copy link
Owner

beuaaa commented Jun 8, 2022

No description provided.

@beuaaa beuaaa added the enhancement New feature or request label Jun 8, 2022
@beuaaa beuaaa added this to the 0.6.0 milestone Jun 8, 2022
@beuaaa beuaaa self-assigned this Jun 8, 2022
@beuaaa
Copy link
Owner Author

beuaaa commented Jun 8, 2022

Before version 0.6.0, only the name of a window could be described by a regex with the 'regex' parameter.
This regex description was possible only for the root entry of the UIPath.
The 'regex' parameter is now obsolete.

The key 'RegEx: ' in the UIPath syntax allows the user to describe a name with a Regex.
This regex description is possible for all the entries of the UIPath.

For example:

with Window(".* - Notepad||Window", regex=True):
	edit = left_click("Text Editor||Edit")

Must be coded with the new syntax:

with UIPath("RegEx: .* - Notepad||Window"):
	edit = left_click("Text Editor||Edit")

This parameter will be removed in the next release.

@beuaaa beuaaa closed this as completed Jun 8, 2022
@beuaaa beuaaa changed the title Replace Window and Region with UIPath Enhance regex in UIPath Jun 8, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant