// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Routing.Constraints
{
///
/// Represents a regex constraint which can be used as an inlineConstraint.
///
public class RegexInlineRouteConstraint : RegexRouteConstraint
{
///
/// Initializes a new instance of the class.
///
/// The regular expression pattern to match.
public RegexInlineRouteConstraint(string regexPattern)
: base(regexPattern)
{
}
}
}