qpl icon indicating copy to clipboard operation
qpl copied to clipboard

Scan function to find multiple chars

Open Jae0504 opened this issue 1 year ago • 1 comments

Hello, I have a question about the scan function. Can we find multiple chars by using the scan function? For example, finding 'ab' or 'abc' from the input file? I checked the code example from the QPL documentation and I think we can find a maximum of 4 chars with the scan function if we change src1_bit_width.

Jae0504 avatar Mar 26 '24 16:03 Jae0504

Hi @Jae0504, I am not sure I understood the goal completely, is the idea to supply "ab" as input and find either "a" or "b", or would you like to search for exactly "ab" sequence?

I would try to see whether any of sub-operations of scan, see documentation here works for you.

mzhukova avatar Apr 30 '24 20:04 mzhukova

No reply in quite some time, so closing the issue. Please, feel free to re-open if still relevant.

mzhukova avatar Aug 12 '24 20:08 mzhukova