• src/sbbs3/str_util.c str_util.h

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Feb 5 05:16:27 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/88586297679d65cc95e4a7b7
    Modified Files:
    src/sbbs3/str_util.c str_util.h
    Log Message:
    Create a version of truncstr() that returns the truncated string

    No immediate use/need, but I *almost* did. :-)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Apr 24 07:28:03 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/aa7f5b383a9f607c96431f8f
    Modified Files:
    src/sbbs3/str_util.c str_util.h
    Log Message:
    Created convert_ansi() which is kind of a minimal version of ANS2ASC

    It Ctrl-A encodes a possibly ANSI-encoded string, supporting on color/attribute sequences and stripping all others.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Aug 9 06:03:19 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/5b359484e144b2ff8bdc2dba
    Modified Files:
    src/sbbs3/str_util.c str_util.h
    Log Message:
    Allow '*' pattern character to be used mid-string (not just beg or end)

    Previously, the '*' matching pattern character could only be used as the beginning or ending character of a pattern string; for any other use, it was treated just as any other exact-match character.

    Now, you can have exact-match characters on both the left and right sides of the '*', so pattern matching like the following is possible:

    <*@gmail.com>
    digital*man

    Multiple '*'s are still not treated special (only the first/left-most '*" is), so, for example, "*blah*" will not likely produce the desired matching effect (use "blah~" instead for this case).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Mar 14 04:33:54 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/6966a81b8d08c75b86277e30
    Modified Files:
    src/sbbs3/str_util.c str_util.h
    Log Message:
    Create i64toac() to generate comma-separated ASCII string of 64-bit int

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net