Skip to content

Commit f5c124b

Browse files
authored
session-create-id.xml: preg_* functions style for range (#3651)
1 parent 23e8488 commit f5c124b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

reference/session/functions/session-create-id.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
If <parameter>prefix</parameter> is specified, new session id
4141
is prefixed by <parameter>prefix</parameter>. Not all
4242
characters are allowed within the session id. Characters in
43-
the range <literal>a-z A-Z 0-9 , (comma) and -
44-
(minus)</literal> are allowed. Maximum length is 256 characters.
43+
the range <literal>[a-zA-Z0-9,-]</literal> are allowed. Maximum length is 256 characters.
4544
</para>
4645
</listitem>
4746
</varlistentry>

reference/session/functions/session-id.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<function>session_start</function> for that purpose. Depending on the
3737
session handler, not all characters are allowed within the session id.
3838
For example, the file session handler only allows characters in the
39-
range <literal>a-z A-Z 0-9 , (comma) and - (minus)</literal>!
39+
range <literal>[a-zA-Z0-9,-]</literal>!
4040
</para>
4141
<note>
4242
<simpara>

0 commit comments

Comments
 (0)