Bogdan Polishchuk
Администратор
Всего сообщений: 4113
Дата регистрации: 04.04.2012
|
Создано:
24.04.2012 02:51:17
|
Цитата |
---|
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.
|
Pim Joosten
Всего сообщений: 549
Дата регистрации: 11.11.2010
|
Создано:
24.04.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!
|
Bogdan Polishchuk
Администратор
Всего сообщений: 4113
Дата регистрации: 04.04.2012
|
Создано:
24.04.2012 03:37:40
|
Ok, good luck with that
|