VSS.Regular_Expressions.Utilities

Entities

Subprograms

Description

Copyright (C) 2021, AdaCore

SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

Escape

function Escape
  (Item : VSS.Strings.Virtual_String) return VSS.Strings.Virtual_String

Escapes all characters of the Item that they don't have any special meaning when used as regular expression pattern string and returns escaped string.

Parameters
Item
Return Value

Wildcard_To_Regular_Expression

function Wildcard_To_Regular_Expression
  (Item : VSS.Strings.Virtual_String) return VSS.Strings.Virtual_String

Returns a regular expression representation of the glob pattern Item.

Parameters
Item
Return Value