---
layout: docs
title: getBeginManualSectionRegex
id: class.Facebook.HackCodegen.PartiallyGeneratedCode.getBeginManualSectionRegex
docid: class.Facebook.HackCodegen.PartiallyGeneratedCode.getBeginManualSectionRegex
permalink: /docs/reference/class.Facebook.HackCodegen.PartiallyGeneratedCode.getBeginManualSectionRegex/
---
# Facebook\\HackCodegen\\PartiallyGeneratedCode::getBeginManualSectionRegex()




``` Hack
private static function getBeginManualSectionRegex(
  string $regex,
): string;
```




## Parameters




* ` string $regex `




## Returns




- ` string `