Forums list
New topics
Topics list
Search
Help
Login
Register

Messages 11 - 13 of 13
First | Prev. | 1 2 | Next | Last 

Topic: «Regular expression question » on forum: Technical Support   Views: 9892
 
Bogdan Polishchuk
Administrator
 
Posts: 4010
Joined: 04/04/2012
Posted: 04/24/2012 02:51:17
 
 
Quote
the ^ symbol is for the beginning of string and the $ symbol is for the end.

It means, if you set ^a.+b$ as a search criterion, then program will select the windows, those have "a" at the beginning and "b" at the end of the window caption.

I think, in your case the ending of the window caption is "Extern bureaublad" which is definitetly not "op Samsung monitor", therefore there is no match.
 
Top
Pim Joosten
Resident
 
Posts: 549
Joined: 11/11/2010
Posted: 04/24/2012 03:26:25
 
 
Now I get it! It refers to the string and in this case the string is the window caption. It is not a begin mark and end mark of my regular expression.

I have also found on one of the links you provided that the . (period) in .+ means any character(s) in that position. I think I am starting to get it!  :)

Thanks again!
 
Top
Bogdan Polishchuk
Administrator
 
Posts: 4010
Joined: 04/04/2012
Posted: 04/24/2012 03:37:40
 
 
Ok, good luck with that :)
 
Top

Messages 11 - 13 of 13
First | Prev. | 1 2 | Next | Last 

User(s) reading this topic
Number of guests: 1, registered members: 0, in total hidden: 0


Forums list
New topics
Topics list
Search
Help
Login
Register