QRegExp: Match double-quoted text
General and Desktop
4
Posts
2
Posters
3.3k
Views
1
Watching
-
Hello guys,
I want to match some quoted text like this "asdfhl"
I tried many Regex Strings but something like "[^"']*" just gives me two quotes, without any text or space between.Any ideas? I recently asked on IRC but nobody seemed to be able to help me. Thanks in advance.
kind regards,
rapidcc -
[quote author="rapidcc" date="1323702626"]
I'm a bit confused because I had used this very regex earlier and it didnt work. However, it works perfectly now.
[/quote]Please consider that there are slightly differences between regexp engine implementations. That is why most of such implementation are becoming more and more perl-compatible.
In your particular case there was a problem with the atom, that was not indicated.