Ciao Mark S. & all ...

I have an issue using character sets in square brackets. A case came up on 
the #buddha stuff, covered earlier in this thread, I overlooked. 
Occasionally I'd include a web address in a Tweet ...

 ... https://steamradio.com/buddha.html#BuddhaLink

Under the current regex "#\w+\b", it would capture "#BuddhaLink". It 
shouldn't as its NOT a Twitter hashtag, its just part of an address. There 
are several regex solutions. An economical one looks to me like 
"[^a-z](#\w+\b)". 

In this case the capture group is what needs returning, not the whole 
match. 

I have an issue ... I simply c*an't figure out how to get the character set 
in square brackets into the regex match formul*a. 

Any help much appreciated
Best wishes
Josiah

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d1945b66-3b58-47e9-a698-9c0fca5ec833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to