Questions tagged [pattern-finding]

19 questions
0
votes
1 answer

Pattern finding algorithms in NodeJS

I am working on a server that will update a list each day. The list will look like the following example. +---+------------+-------------+-------------+-------------+ | | A | B | C | D …
0
votes
1 answer

Find coordinate of a cell in an array of characters

How would I find a coordinate of a cell in a 2d char table. For example if my table would display something like this: .....@@@@..... .........@@@..... .....@@@@..... I want to find the second '@' in second row, as this would produce a square of…
Jaskowaty
  • 17
  • 9
0
votes
3 answers

Find a pattern image (binary file)

For string variable in DigitalMicrograph, we can find the position of a particular pattern using the "find" function: Number find( String str, String sub_str ) I would like to do the same but with image data. For example, I can create an image with…
KEVIVI
  • 297
  • 1
  • 8
0
votes
1 answer

How to get a parameter as a result of a search condition from a XML-File?

Im getting via Webservice an XML File and now I want just to get certain data out of it by finding a certain match in the same tag: For example: < Person name="Peter" age="33" /> Now I want to find the name Peter and get his age returned. Maybe a…
1
2