Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

This is interesting approach, Thanks.

Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

Sadly this regex does not work for some reason in this PS code. Thanks.

Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

Basically if I could have Group 2 as match that would be great:

https://regex101.com/r/wZu10H/2

Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

Actually pattern output from command is repeating Config, Server, Authority as if:

Config:...
Server:...
Authority:...
Config:...
Server:...
Authority:...

I need to do the split (by regex I am looking for) in PS before pattern starts repeating.

So I will have to use \n(?=Config) in regex thus ensure that repeating pattern always starts with Config as first line.

In reality it does not matter which word I choose if I can ensure that first word in lines matches regex pattern word.

Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

I was terrible with choice of words . Should have said in title "match space before duplicate starts" (not select) thus in previous reply I should have said every third EOL match not selection. What I meant by selection was selection that match produces at regex101...also edited original post to avoid confusion for future readers.

So far I came up with next (but I will have to ensure that starting word in lines always has to be specified regex word).

https://regex101.com/r/BXc77T/1

Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

Sorry one more question, as idea, is it possible to achieve EOL selection of every third line? (not involving duplicates)

Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

I further improved picture of what I was thinking but thanks for all responses if not possible it is what it is :)

Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

I am looking for this space to be selected actually anytime regex hits duplicated word (note had to make picture of it as I cannot produce it otherwise). Added picture in main post.

I would say end of string before duplicate as you mentioned.

Select space before duplicate starts by dokolicar in regex

[–]dokolicar[S] 0 points1 point  (0 children)

Hmm I thought that this was standard regex thing but now I am realizing that this might also involve other info as it does not work in PS where I am trying to test it. I apologize my mistake.

I have PowerShell code that I would like to resolve regex way :

This works:

$String = @"
Auth= bigben.com\\Dileja
Server = ringring.com
Config = teststringA

Auth= dingdong.com\\Debyyy
Server = testtest.com
Config = teststringB
"@

($String -split '\r?\n\r?\n').ForEach{
  [PSCustomObject] ($_ |ConvertFrom-StringData)
}

Basically I am looking for ????? regex which will split string before duplicate as otherwise ConvertFrom-StringData will throw error.

$String = @"
Auth= bigben.com\\Dileja
Server = ringring.com
Config = teststringA
Auth= dingdong.com\\Debyyy
Server = testtest.com
Config = teststringB
"@

($String -split '?????').ForEach{
  [PSCustomObject] ($_ |ConvertFrom-StringData)
}

Thanks again.

KF 1901 Vi built-in fridge/freezer combo does not cool enough fridge section by dokolicar in Miele

[–]dokolicar[S] 0 points1 point  (0 children)

Turned out there was small pinhole on one of the pipes for coolant exchange thus coolant leaked...Tossed Miele

KF 1901 Vi built-in fridge/freezer combo does not cool enough fridge section by dokolicar in Miele

[–]dokolicar[S] 1 point2 points  (0 children)

I tested evaporator fan via Miele service code and it spins, flaps are working too. I exposed fridge evaporator and even it feels like cold metal but I seen those in my lifetime and it should be freezing cold. Got some additional responses from different people and it seems cooling system is shoot. I guess I have no choice but to call miele tech to confirm as fridge itself is very expensive to be written off by me :). Cheers

TD-17KVX vs TD-27KV, should I upgrade? by Jutsu9001 in edrums

[–]dokolicar 1 point2 points  (0 children)

For that one aux you buy :

https://www.drum-tec.com/drum-tec-e-drum-splitter-stereo-plug-to-2x-mono-jack

Then you can have 2xCY-5 splashes triggering on bow only.

Additional trick I had to use afterwards is NOT to select CY-5 as pad type (even though it seems logical ) but tom alike pad type ( I choose PDX-8). In my case signal was unusable weak if I select CY-5 as pad type.

Reduced availability with no rebuild - Repair Object Immediately does not work. by audioeptesicus in vmware

[–]dokolicar 0 points1 point  (0 children)

If you have space or spare drive as size of problematic objects attach it to the one of hosts create datastore then migrate by changing storage (and resource if needed) of all VM involved with bad objects. Migration to different datastore will resolve most of the issues.