|
 |
kurtz le pirate <kur### [at] free fr> wrote:
> Okay. Now comes the hard part: recognizing the signature AND recognizing
> that it contains SDL POV code.
>
> Perl(*) contains powerful recognition operators (regex) but (I haven't
> thought much about this) I can't see what would be significant for
> signature and SDL code.
So, I would think that one would start with the obvious:
The signature would be at the very end, would perhaps be separated by
whitespace/NL/CR
and perhaps be preceded by some separator like
--
or sig:
In one thread, someone replied that someone's signature was really just a small
scene. Because it "didn't fit into the typical sig size.
https://news.povray.org/2q9m9u4d4ltskajs3a0mjvhsnr4gq5o94e%404ax.com
So, I'd say that any compact block of text in less than 4 lines, that has any
pov-ray keywords in it, is a good candidate.
The idea is really just to grab them all and then we can hand-sift-out the
not-sig stuff.
Rejecting identical blocks of code makes the hand-sifting even easier. How many
could there possibly be?
- BW
Post a reply to this message
|
 |