wizards/source/scriptforge/SF_String.xba |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e94e19bf2e19c17ac96c8c387baec3e16e0d8b83
Author:     Jean-Pierre Ledure <[email protected]>
AuthorDate: Mon Feb 2 15:29:18 2026 +0100
Commit:     Adolfo Jayme Barrientos <[email protected]>
CommitDate: Mon Feb 2 20:56:35 2026 +0100

    ScriptForge fix tdf#169176 comma in file names
    
    Per
      
https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#file-and-directory-names
    the comma and the semicolon are not
    reserved characters in folder or file
    names.
    
    Not in Windows, and also not in Linux.
    
    The regular expressions used to filter
    valid file names have been reviewed
    accordingly in the
      ScriptForge.SF_String
    module.
    
    No impact on user scripts, except a better
    tolerance.
    No impact on user documentation.
    
    Change-Id: I2c4bd442764e0362e1ca6f44603311b0b7ca7679
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198552
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>

diff --git a/wizards/source/scriptforge/SF_String.xba 
b/wizards/source/scriptforge/SF_String.xba
index 01205534fcb9..3342d1427aaa 100644
--- a/wizards/source/scriptforge/SF_String.xba
+++ b/wizards/source/scriptforge/SF_String.xba
@@ -60,8 +60,8 @@ Const REGEXTIMEMIN                    =       
&quot;([0-5][0-9])&quot;
 Const REGEXTIMESEC                     =       REGEXTIMEMIN
 Const REGEXDIGITS                      =       &quot;^[0-9]+$&quot;
 Const REGEXEMAIL                       =       
&quot;^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$&quot;
-Const REGEXFILELINUX           =       
&quot;^[^&lt;&gt;:;,?&quot;&quot;*|\]+$&quot;
-Const REGEXFILEWIN                     =       
&quot;^([A-Z]|[a-z]:)?[^&lt;&gt;:;,?&quot;&quot;*|]+$&quot;
+Const REGEXFILELINUX           =       
&quot;^[^&lt;&gt;:?&quot;&quot;*|\]+$&quot;
+Const REGEXFILEWIN                     =       
&quot;^([A-Z]|[a-z]:)?[^&lt;&gt;:?&quot;&quot;*|]+$&quot;
 Const REGEXHEXA                                =       
&quot;^(0X|&amp;H)?[0-9A-F]+$&quot;     &apos;  Includes 0xFF and &amp;HFF
 Const REGEXIPV4                                =       
&quot;^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$&quot;
 Const REGEXNUMBER                      =       
&quot;^[-+]?(([0-9]+)?\.)?[0-9]+([eE][-+]?[0-9]+)?$&quot;

Reply via email to