Skip to content

IsStringLiteralMatchingRegex Code Mapping Condition

ldfallas edited this page Aug 17, 2015 · 2 revisions

Description

Determines if the current element is a C# string literal that is a match of the specified regular expression.

Properties

​Property ​Usage ​Description
Regex Required / Content property The regular expression to test

Example

As part of the migration of the constructor of Microsoft.Phone.Shell.ApplicationBarIconButton

Notes

  • The regular expression will be tested only if the current element is a C# string literal
  • The start and end double quote will be removed from the text before testing the regular expression

This means that ^" will only succeed if the first character of the string is "

Overview

Writing mappings

Code Mapping Actions

Code Mapping Conditions

XAML mapping actions

XAML mapping conditions

Misc

Clone this wiki locally