---
title: "Codeunit 3051 DotNet_RegexOptions"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/3051-dotnet-regexoptions/
type: codeunit
id: 3051
name: "DotNet_RegexOptions"
app: "Base Application"
versions: "17-21"
build: 21.5.53619.63803
obsolete: "Pending 18.0"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 3051 DotNet_RegexOptions

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/3051-dotnet-regexoptions/

| | |
| --- | --- |
| App | Base Application |
| Versions | 17-21 |
| Obsolete | Pending 18.0, seen from 17. This codeunit is obsolete. Use the RegexOptions enum in the Regex Module instead. |
| Source file | DotNet Wrappers/DotNetRegexOptions.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Compiled | () | Integer | public | 17-21 | - | - |
| CultureInvariant | () | Integer | public | 17-21 | - | - |
| ECMAScript | () | Integer | public | 17-21 | - | - |
| ExplicitCapture | () | Integer | public | 17-21 | - | - |
| IgnoreCase | () | Integer | public | 17-21 | - | - |
| IgnorePatternWhitespace | () | Integer | public | 17-21 | - | - |
| Multiline | () | Integer | public | 17-21 | - | - |
| None | () | Integer | public | 17-21 | - | - |
| RightToLeft | () | Integer | public | 17-21 | - | - |
| Singleline | () | Integer | public | 17-21 | - | - |
| ToString | () | Text | public | 17-21 | - | - |
| ToInteger | () | Integer | public | 17-21 | - | - |
| FromInteger | (Integer) | - | public | 17-21 | - | - |
| IsDotNetNull | () | Boolean | public | 17-21 | - | - |
| GetRegexOptions | (var DotNet RegexOptions) | - | public | 17-21 | - | - |
| SetRegexOptions | (var DotNet RegexOptions) | - | public | 17-21 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.

Jonas Paprotka, 2026-09-20.
