---
title: "System::Text::RegularExpressions::Regex::get_RightToLeft method"
url: "https://reference.aspose.com/pub/cpp/system.text.regularexpressions/regex/get_righttoleft/"
product: "Aspose.PUB for C++"
description: "System::Text::RegularExpressions::Regex::get_RightToLeft method. Checks if matching is done in right-to-left mode in C++."
---

## Regex::get_RightToLeft method


Checks if matching is done in right-to-left mode.

```cpp
bool System::Text::RegularExpressions::Regex::get_RightToLeft()
```


### ReturnValue

True if matching is done right-to-left, false if it is done left-to-right.

## See Also

* Class [Regex](../)
* Namespace [System::Text::RegularExpressions](../../)
* Library [Aspose.PUB for C++](../../../)
