POV-Ray : Newsgroups : povray.general : Signatures : Re: Signatures Server Time
9 Mar 2025 17:44:44 EDT (-0400)
  Re: Signatures  
From: Bald Eagle
Date: 2 Mar 2025 16:20:00
Message: <web.67c4cb46ca2c13a21f9dae3025979125@news.povray.org>
kurtz le pirate <kur### [at] freefr> 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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.