but i have a problem whit performance
this.Dispatcher.Invoke
invokes back to the GUI thread…which doesn’t do any good if you want the work to not hamper the user.
You need to separate out the what the regex’es find, from the how to display it to the user. Running the regex’es in separate threads is a good strategy, but one should invoke
the result back to the GUI after the work is done.
Make your processing easier, just do one thing in a thread for now. Once you get that working, then do the other operations.
2
solved Please check my Regex to match color text [closed]