Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spread function: Hexo built-in plugin blockquote #3291

Merged
merged 7 commits into from
Nov 5, 2018

Commits on Oct 23, 2018

  1. Configuration menu
    Copy the full SHA
    db7e37d View commit details
    Browse the repository at this point in the history
  2. The rAuthor variable has been deleted.

    Judgment as to whether it is more than one character is done beforehand, there is no need to do it again and there is no need to capture all.
    segayuu committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    fc9aa5c View commit details
    Browse the repository at this point in the history
  3. Early return

    segayuu committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    c4b451b View commit details
    Browse the repository at this point in the history
  4. Remove RegExp#test().

    With this code it is sufficient to do a null check on the return value of RegExp#exec() or string#match().
    segayuu committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    1950fb0 View commit details
    Browse the repository at this point in the history
  5. string#match() to RegExp#exec().

    This is equivalent if RegExp has no global flag.
    segayuu committed Oct 23, 2018
    Configuration menu
    Copy the full SHA
    e54a73e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d54ef78 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c84d587 View commit details
    Browse the repository at this point in the history