User:YJJcoolcool/sandbox

This is my user sandbox.

Task 1


imgs

Task 2
Q1. What keyword marks the start of a function definition? A1. function

Q2. Which letter is conventionally used in Scribunto modules to hold the table of functions? A2. p

Q3. What keyword marks the end of a function definition? A3. end

Task 5
Q1. What does %w+ match in a Lua pattern? A1. All ASCII alphanumeric characters, with 1 or more repetitions of characters in the class.

Q2. What does %d+ match in a Lua pattern? A2. All digits, with 1 or more repetitions of characters in the class.

Pattern: "(&w+) (&d+), (&d+)"

Here is the edited pattern, with dmydate passed as October 31, 2018: