Skip to content

Class: pattern_expression

a regular expression pattern used to evaluate conformance of a string

  • Canonical name: PatternExpression
  • Names in code: PatternExpression (Scala, TypeScript, Python, Java, Rust, GraphQL)
  • URI: linkml:PatternExpression (https://w3id.org/linkml/PatternExpression)
  • Mixins: extensible, annotatable, common_metadata
  • interpolated · boolean

    if true then the pattern is first string interpolated

  • partial_match · boolean

    if not true then the pattern must match the whole string, as if enclosed in ^…$

  • syntax · string

    the string value of the slot must conform to this regular expression expressed in the string. May be interpolated.

Used by Slot Cardinality
slot_expression structured_pattern 0..1
type_expression structured_pattern 0..1