Skip to content

Instantly share code, notes, and snippets.

@chitoku-k
chitoku-k / 淫夢語録.cs
Last active December 27, 2019 05:37
淫夢語録
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public class 淫夢語録
{
private static Dictionary<Func<string, bool>, string> sayings = new Dictionary<Func<string, bool>, string>
{
{ text => Regex.IsMatch(text, "(?:なん|何)でも(?:し|す)") && !Regex.IsMatch(text, "ん[??]"), "ん?" },