racoonknight
racoonknight
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
I see. I didn’t think about that. Thank you
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
So you’d read the file into a string And then use indexOf to find the index of Key and /Key. And the substrin everything between?
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
But dont u need to know the specific index then?
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
What would you use?
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
Ah I see, thank you
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
Or would it take both and then I could use Groups[] to decide which i’d take?
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
so purely for example if i had in my file Key: 1;kr;kr&: /Key Key: 17388848 Hajsifij^^^ Abbk 788 Uio /Key So greedy would take the longer one?
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
no
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
And to my understanding greedy means it will take the longest string that matches?
27 replies
CC#
Created by racoonknight on 4/13/2023 in #help
❔ confused with regex pattern
What is the difference between .* and .*?
27 replies