surround with (), display capture with $1, $2, $n
eg.:
search: CreateColumnDefinition\(\"(\w*)\",
replace: CreateColumnDefinition("$1", 1,
[ab] only ab
[^ab] everything but ab
meine Sys/Db admin & Developper Notitzen - wer Rechtschreibfehler findet darf sie behalten ... my Sys/Db Admin and developper notes - I don't care about typos
surround with (), display capture with $1, $2, $n
eg.:
search: CreateColumnDefinition\(\"(\w*)\",
replace: CreateColumnDefinition("$1", 1,
[ab] only ab
[^ab] everything but ab
public Form1()
{
InitializeComponent();
StartAsync();
}
private async void StartAsync()
{
// do some work
await Task.Run(() => { Thread.Sleep(1000); });
// start more work
var moreWork = Task.Run(() => { Thread.Sleep(1000); });
// update the UI, based on data from “some work”
textBox1.Text = "From async method";
// wait until “more work” finishes
await moreWork;
}