diff --git a/test_data/intermediate/expected/documentation/docstring_as_raw_string/expected_symbol_table.txt b/test_data/intermediate/expected/documentation/docstring_as_raw_string/expected_symbol_table.txt
new file mode 100644
index 000000000..19e6ff634
--- /dev/null
+++ b/test_data/intermediate/expected/documentation/docstring_as_raw_string/expected_symbol_table.txt
@@ -0,0 +1,42 @@
+SymbolTable(
+ our_types=[
+ ConstrainedPrimitive(
+ name='Non_empty_XML_serializable_string',
+ inheritances=[],
+ inheritance_id_set=...,
+ ancestors=[],
+ ancestor_id_set=...,
+ descendant_id_set=...,
+ constrainee='STR',
+ is_implementation_specific=False,
+ invariants=[],
+ invariant_id_set=...,
+ description=DescriptionOfOurType(
+ summary='Represent a string with at least one character.',
+ remarks=[
+ textwrap.dedent("""\
+ The string should also be serializable to XML, which is the background for
+ the following constraint.""")],
+ constraints_by_identifier=[
+ [
+ 'AASd-130',
+ textwrap.dedent("""\
+ An attribute with data type "string" shall consist of these characters only:
+ ^[\\x09\\x0A\\x0D\\x20-\\uD7FF\\uE000-\\uFFFD\\u00010000-\\u0010FFFF]*$.""")]],
+ parsed=...),
+ parsed=...)],
+ our_types_topologically_sorted=[
+ 'Reference to our type Non_empty_XML_serializable_string'],
+ enumerations=[],
+ constrained_primitives=[
+ 'Reference to our type Non_empty_XML_serializable_string'],
+ classes=[],
+ concrete_classes=[],
+ constants=[],
+ constants_by_name=...,
+ verification_functions=[],
+ verification_functions_by_name=...,
+ meta_model=MetaModel(
+ description=None,
+ version='dummy',
+ xml_namespace='https://dummy.com'))
\ No newline at end of file
diff --git a/test_data/intermediate/expected/documentation/docstring_as_raw_string/meta_model.py b/test_data/intermediate/expected/documentation/docstring_as_raw_string/meta_model.py
new file mode 100644
index 000000000..b80216f12
--- /dev/null
+++ b/test_data/intermediate/expected/documentation/docstring_as_raw_string/meta_model.py
@@ -0,0 +1,20 @@
+# We test for ``\x09`` and other special characters, and make sure they are represented
+# adequately in the string dump of the symbol table.
+
+
+class Non_empty_XML_serializable_string(str, DBC):
+ r"""
+ Represent a string with at least one character.
+
+ The string should also be serializable to XML, which is the background for
+ the following constraint.
+
+ :constraint AASd-130:
+
+ An attribute with data type "string" shall consist of these characters only:
+ ``^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u00010000-\u0010FFFF]*$``.
+ """
+
+
+__version__ = "dummy"
+__xml_namespace__ = "https://dummy.com"
diff --git a/test_data/intermediate/real_meta_models/aas_core_meta.v3/expected_symbol_table.txt b/test_data/intermediate/real_meta_models/aas_core_meta.v3/expected_symbol_table.txt
index 322d7183a..24c74223c 100644
Binary files a/test_data/intermediate/real_meta_models/aas_core_meta.v3/expected_symbol_table.txt and b/test_data/intermediate/real_meta_models/aas_core_meta.v3/expected_symbol_table.txt differ