Skip to content

Commit 6f02e59

Browse files
committed
Meta copyright
1 parent a781cd9 commit 6f02e59

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

include/pytorch/tokenizers/pcre2_regex.h

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
#pragma once
210

311
#include <memory>
@@ -38,7 +46,6 @@ class Pcre2Regex : public IRegex {
3846
*/
3947
bool ok() const override;
4048

41-
protected:
4249
/**
4350
* @brief Expose internal PCRE2 pointer to the factory if needed.
4451
*/

include/pytorch/tokenizers/re2_regex.h

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ class Re2Regex : public IRegex {
3939
*/
4040
bool ok() const override;
4141

42-
protected:
4342
/**
4443
* @brief Expose internal RE2 pointer to the factory if needed.
4544
*/

src/pcre2_regex.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
* All rights reserved.
4+
*
5+
* This source code is licensed under the BSD-style license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
#include <iostream>
210
#include <vector>
311

0 commit comments

Comments
 (0)