Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / Search source with wildcard?

Author
Message
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 11th Nov 2016 09:01
Can you perform a search in AGK2 Tier 1 with wildcards? I would like to search for "calculated_path[current_step_to_record,4]" where current_step_to_record is replaced by a wildcard like *, like this "calculated_path[*,4]". Is this possible?
13/0
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 11th Nov 2016 11:01
Click on "use regular expressions". Then search on:

calculated_path\[.*,4\]

\[ and \] are escaped special characters
.* = match anything

Regular expressions can be extremely complex, but also extremely powerful


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Cybermind
Valued Member
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 18th Nov 2016 20:38
Oh goodie! A thousand thank you to you BatVink
13/0

Login to post a reply

Server time is: 2024-11-21 22:18:05
Your offset time is: 2024-11-21 22:18:05