Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions config/robotframework_aio/release_items_JsonPreprocessor.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,21 +180,21 @@
"
**Updated naming convention check**

The **JsonPreprocessor** supports a user-defined convention for key names. This is enforced using a regex pattern
passed to the constructor of the **JsonPreprocessor** class.
The **JsonPreprocessor** supports a user-defined convention for key names. This is enforced using a regex pattern
passed to the constructor of the **JsonPreprocessor** class.

*Example*
*Example*

Assuming key names may only contain letters, digits and underscores, but must start with a letter, then the **JsonPreprocessor**
has to be initialized in this way:
Assuming key names may only contain letters, digits and underscores, but must start with a letter, then the **JsonPreprocessor**
has to be initialized in this way:

| ``json_preprocessor = CJsonPreprocessor(keyPattern=r'^\\p{L}[\\p{L}\\p{Nd}_]*$')``
| ``json_preprocessor = CJsonPreprocessor(keyPattern=r'^\\p{L}[\\p{L}\\p{Nd}_]*$')``

This feature is an option. If the user does not define the parameter ``keyPattern``, key names can contain any characters (but cannot be empty).
This feature is an option. If the user does not define the parameter ``keyPattern``, key names can contain any characters (but cannot be empty).

*Example*
*Example*

| ``json_preprocessor = CJsonPreprocessor()``
| ``json_preprocessor = CJsonPreprocessor()``

**Maintenance**

Expand Down
Loading