To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit c4c9b5a3 authored by vermeul's avatar vermeul
Browse files

Update 12-Regular_Expressions.md

parent 9866639a
......@@ -84,7 +84,7 @@ Split the regular expression on multiple lines and add comments. Of course, you
regex = re.compile(
r"""^ # beginning of the string
(?P<alias_alternative> # use first part as alias, if no alias is defined
(?P<requested_entity>sample|object) # string starts with experiment or collection
(?P<requested_entity>sample|object) # string starts with sample or object
(\.(?P<attribute>\w+))? # capture an optional .attribute
)
( # capture an optional alias: entity.attribute AS alias
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment