User Tools

Site Tools


creating_cases_using_pattern_search

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
creating_cases_using_pattern_search [2024/02/29 15:57] – chriscreating_cases_using_pattern_search [2024/02/29 16:04] (current) – chris
Line 30: Line 30:
 .*  .* 
  
-That's all you need. The '.' matches any character except for new line, and the '*' says the preceeding character can be matched 0 or more times.\\+That's all you need. The '.' matches any character except for a new line, and the '*' says the preceeding character can be matched 0 or more times.\\
 In the screenshot below, you can see this search makes a new case for every WSI file in the directory. In the screenshot below, you can see this search makes a new case for every WSI file in the directory.
  
Line 51: Line 51:
 We can use some simple commands to sort these into cases. We can use some simple commands to sort these into cases.
  
-Here you can see that typing '.' will match all files starting with the same character into a Case.+Here you can see that typing '.' matches all files starting with the same character into a Case.
  
 {{ :pattern search 4.png?600 |}} {{ :pattern search 4.png?600 |}}
  
  
-If you had files with different names, but each case had the first 4 letters or numbers, you could type '....' to group them together.+If you have files with different names, but each case shares the first 4 letters or numbers, you can type '....' to group them together.
  
 Another way to search and group together files into Cases is using [].\\ Another way to search and group together files into Cases is using [].\\
Line 64: Line 64:
 {{ :pattern search 6.png?600 |}} {{ :pattern search 6.png?600 |}}
  
-You could also chain several of these blocks together, for example:\\+You can also chain several of these blocks together, for example:\\
 ^[\d\w]+-[\d\w]+-[\d\w] would find all files with three strings of alphanumeric characters, each separated by a '-' ^[\d\w]+-[\d\w]+-[\d\w] would find all files with three strings of alphanumeric characters, each separated by a '-'
  
creating_cases_using_pattern_search.1709218641.txt.gz · Last modified: by chris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki