Find Sequence with "gaps" using regular expressions RRS feed

  • Pergunta

  • Hey mates! How're you doing?

    I need your help to find an expression in a binary file.

    The trick is that the expression (bits) I want to find inside the bigger expression (also in bits) has control bits ans rubish bits that I don't need.

    Imagine this simple example with chars:

    find "ABC" in this sequence "TEDADBRGTC"

    So, back to bits:

    I now that the gaps (control an trash bits) can be 0 up to 4 bits.

    I know that the bits I want to find are sequencially space

    sábado, 18 de fevereiro de 2012 16:25

Todas as Respostas