Forwarded from dnaugsuz
就是那个支持『lookahead 1』的 Feeder 写得很不爽,总感觉是在贴代码
一共 166 行,好像没有 bug,有些逻辑不是很清楚,想必风格在 Java 程序员里还是很奇葩(我写了很多
基本上快用了三个小时……
一共 166 行,好像没有 bug,有些逻辑不是很清楚,想必风格在 Java 程序员里还是很奇葩(我写了很多
interface……)基本上快用了三个小时……
Forwarded from dnaugsuz
>>> Diff.diff(listOf(1,2), listOf(1,3,4))
1 (2) [3,4]
>>> Diff.diff("abc", "ac")
a (b) c
>>> Diff.diff("abc", "acd")
a (b) c [d]
Forwarded from 永久封存 | Yuuta 台 | 😷 #Pray4Wuhan (Yuuta ⠀)
https://t.iss.one/FuckU_GaoShangXuan/1079 儿子 / 生 / 性病母 / 倍感安慰
Telegram
Eric Chen's Public Channel
#今天有什么好笑的
\documentclass[11pt]{article}
\usepackage{amsmath, amssymb}
\usepackage[normalem]{ulem}
% XeTex is utf8 based
%\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[colorlinks]{hyperref}
% Tikz
\usepackage{tikz}
\usepackage{float}
\usepackage{caption}
\usetikzlibrary{shapes.geometric, arrows, positioning}
\tikzstyle{start} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black]
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black]
\tikzstyle{arrow} = [thick,->,>=stealth]
% CJK Support
\usepackage{fontspec, xunicode, xltxtra}
% CJK style
\usepackage[top = 1in, bottom = 1in, left = 1.25in, right = 1.25in]{geometry}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
\renewcommand{\baselinestretch}{1.25}
\parindent 2em
% Set main font
\newfontfamily\opensans{Open Sans}
\newfontfamily\sourcehanserif{Source Han Serif CN}
\usepackage[CJK]{ucharclasses}
\setTransitionsForCJK{\sourcehanserif}{\opensans}{\opensans}
\setmainfont{Open Sans}
\title{}
\author{}
\date{}
\begin{article}
\maketitle
\end{article}
\usepackage{amsmath, amssymb}
\usepackage[normalem]{ulem}
% XeTex is utf8 based
%\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[colorlinks]{hyperref}
% Tikz
\usepackage{tikz}
\usepackage{float}
\usepackage{caption}
\usetikzlibrary{shapes.geometric, arrows, positioning}
\tikzstyle{start} = [rectangle, rounded corners, minimum width=3cm, minimum height=1cm,text centered, draw=black]
\tikzstyle{process} = [rectangle, minimum width=3cm, minimum height=1cm, text centered, draw=black]
\tikzstyle{arrow} = [thick,->,>=stealth]
% CJK Support
\usepackage{fontspec, xunicode, xltxtra}
% CJK style
\usepackage[top = 1in, bottom = 1in, left = 1.25in, right = 1.25in]{geometry}
\XeTeXlinebreaklocale "zh"
\XeTeXlinebreakskip = 0pt plus 1pt minus 0.1pt
\renewcommand{\baselinestretch}{1.25}
\parindent 2em
% Set main font
\newfontfamily\opensans{Open Sans}
\newfontfamily\sourcehanserif{Source Han Serif CN}
\usepackage[CJK]{ucharclasses}
\setTransitionsForCJK{\sourcehanserif}{\opensans}{\opensans}
\setmainfont{Open Sans}
\title{}
\author{}
\date{}
\begin{article}
\maketitle
\end{article}
Forwarded from dnaugsuz
我加了粘滞(stickY)的,就是
而不会尝试弄 a" ....(包括"的字符集.)... "
要不然为什么VSCode的预览是正确的结果……
Regex 真是乱,为什么
a"b"c"d" 实际上也是最小符合替换过 "b" -> ...; "d" -> ... 的意思 而不会尝试弄 a" ....(包括"的字符集.)... "
要不然为什么VSCode的预览是正确的结果……
Regex 真是乱,为什么
(*?) 就叫最小符合,我还以为是 (.*)? 的意思呢。Forwarded from dnaugsuz
> /<(.*)>/.exec("<abc><def>")
[ '<abc><def>',
'abc><def',
index: 0,
input: '<abc><def>',
groups: undefined ]
> /<(.*)>/y.exec("<abc><def>")
[ '<abc><def>',
'abc><def',
index: 0,
input: '<abc><def>',
groups: undefined ]
弄错了,应该是VSCode的默认和其他有些不一样Forwarded from NekoOverflow
let 您的群组地位升级成;(您的群组地位升级成 = () => 您的群组地位升级成())()